Skip to content

Instantly share code, notes, and snippets.

@ephillipe
Forked from jasonsperske/build-bootstrap.bat
Created August 28, 2013 11:48
Show Gist options
  • Select an option

  • Save ephillipe/6365143 to your computer and use it in GitHub Desktop.

Select an option

Save ephillipe/6365143 to your computer and use it in GitHub Desktop.
@ECHO OFF
REM
REM 01.17.2013, Requires Node.js, JSHint, Recess, and UglifyJS (installed in the path)
REM Run this command after node.js is installed
REM npm install -g less jshint recess uglify-js
REM
MKDIR bootstrap\img
MKDIR bootstrap\css
MKDIR bootstrap\js
COPY img\* bootstrap\img
CALL lessc less\bootstrap.less > bootstrap\css\bootstrap.css
CALL lessc -x less\bootstrap.less > bootstrap\css\bootstrap.min.css
CALL lessc less\responsive.less > bootstrap\css\bootstrap-responsive.css
CALL lessc -x less\responsive.less > bootstrap\css\bootstrap-responsive.min.css
COPY /B ^
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
CALL uglifyjs 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