Created
May 23, 2012 19:18
-
-
Save buzzedword/2777199 to your computer and use it in GitHub Desktop.
One of these days, I'll turn this into an actual script.
This file contains hidden or 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
| # Requires UglifyJS and LESSCSS | |
| alias reduce="cat js/bootstrap-transition.js js/bootstrap-alert.js js/bootstrap-modal.js js/bootstrap-dropdown.js js/bootstrap-scrollspy.js js/bootstrap-tab.js js/bootstrap-tooltip.js js/bootstrap-popover.js js/bootstrap-button.js js/bootstrap-collapse.js js/bootstrap-carousel.js js/bootstrap-typeahead.js | uglifyjs -o js/bootstrap-concat.min.js -nc" | |
| alias twitter-bootstrap-full="clear && echo 'Cloning the Twitter Bootstrap...' && git clone git://github.com/twitter/bootstrap.git && echo 'Switching version to 2.0.3...' && cd bootstrap && git checkout v2.0.3 && echo 'Reducing javascript files to a single concatinated version...' && reduce && echo 'Creating initial bootstrap.css...' && mkdir css && lessc less/bootstrap.less css/bootstrap.css && echo 'Final cleanup...' && rm LICENSE Makefile README.md package.json .gitignore .travis.yml js/README.md && rm -rf .git docs js/tests less/tests && cd ../ && echo 'Twitter bootstrap setup completed.'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment