Created
April 23, 2012 15:01
-
-
Save anonymous/2471478 to your computer and use it in GitHub Desktop.
twitter bootstrap compilation under windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem | |
rem 03.02.2012, setup of directories may vary | |
rem | |
mkdir bootstrap\img | |
mkdir bootstrap\css | |
mkdir bootstrap\js | |
copy img\* bootstrap\img | |
node.exe f:\nodejs\node_modules\less\bin\lessc.js less\bootstrap.less > bootstrap\css\bootstrap.css | |
node.exe f:\nodejs\node_modules\less\bin\lessc.js -x less\bootstrap.less > bootstrap\css\bootstrap.min.css | |
copy js\bootstrap-transition.js+js\bootstrap-alert.js+js\bootstrap-button.js+js\bootstrap-carousel.js+js\bootstrap-collapse.js+js\bootstrap-dropdown.js+js\bootstrap-modal.js+js\bootstrap-tooltip.js+js\bootstrap-popover.js+js\bootstrap-scrollspy.js+js\bootstrap-tab.js+js\bootstrap-typeahead.js bootstrap\js\bootstrap.js | |
node.exe clean.js bootstrap\js\bootstrap.js | |
node.exe f:\nodejs\node_modules\uglify-js\bin\uglifyjs.js --ascii bootstrap\js\bootstrap.js > bootstrap\js\bootstrap.min.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to clean this up a bit: https://gist.github.com/4560631 Your gist was exactly what I needed to get starting with customizing Bootstrap :)