Skip to content

Instantly share code, notes, and snippets.

@rhrn
Last active December 13, 2015 22:59
Show Gist options
  • Save rhrn/4988418 to your computer and use it in GitHub Desktop.
Save rhrn/4988418 to your computer and use it in GitHub Desktop.
Build Twitter Bootstrap
// x - project
// required install uglifyjs, less (via npm better way)))
//
// sudo npm install less uglifyjs -g
git clone git://github.com/twitter/bootstrap.git
cd bootstrap
mkdir -p x/css x/js x/img
lessc --compress less/bootstrap.less > x/css/bootstrap.min.css
lessc --compress less/responsive.less >> x/css/bootstrap.min.css
uglifyjs js/*.js > x/js/bootstrap.min.js
cp img/* x/img/
// x project ready
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment