From edb52a82d83d473071c20dfc4d8cb99742421950 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Wed, 18 Apr 2012 16:16:42 -0700 Subject: make bootstrap compile with Recess instead of Less --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ecb7a00405..7927c1e1cf 100644 --- a/Makefile +++ b/Makefile @@ -10,8 +10,8 @@ BOOTSTRAP_RESPONSIVE_LESS = ./less/responsive.less docs: jshint js/*.js --config js/.jshintrc jshint js/tests/unit/*.js --config js/.jshintrc - lessc ${BOOTSTRAP_LESS} > ${BOOTSTRAP} - lessc ${BOOTSTRAP_RESPONSIVE_LESS} > ${BOOTSTRAP_RESPONSIVE} + recess --compile ${BOOTSTRAP_LESS} > ${BOOTSTRAP} + recess --compile ${BOOTSTRAP_RESPONSIVE_LESS} > ${BOOTSTRAP_RESPONSIVE} node docs/build cp img/* docs/assets/img/ cp js/*.js docs/assets/js/ @@ -24,7 +24,7 @@ docs: # # BUILD SIMPLE BOOTSTRAP DIRECTORY -# lessc & uglifyjs are required +# recess & uglifyjs are required # bootstrap: @@ -32,10 +32,10 @@ bootstrap: mkdir -p bootstrap/css mkdir -p bootstrap/js cp img/* bootstrap/img/ - lessc ${BOOTSTRAP_LESS} > bootstrap/css/bootstrap.css - lessc --yui-compress ${BOOTSTRAP_LESS} > bootstrap/css/bootstrap.min.css - lessc ${BOOTSTRAP_RESPONSIVE_LESS} > bootstrap/css/bootstrap-responsive.css - lessc --yui-compress ${BOOTSTRAP_RESPONSIVE_LESS} > bootstrap/css/bootstrap-responsive.min.css + recess --compile ${BOOTSTRAP_LESS} > bootstrap/css/bootstrap.css + recess --compress ${BOOTSTRAP_LESS} > bootstrap/css/bootstrap.min.css + recess --compile ${BOOTSTRAP_RESPONSIVE_LESS} > bootstrap/css/bootstrap-responsive.css + recess --compress ${BOOTSTRAP_RESPONSIVE_LESS} > bootstrap/css/bootstrap-responsive.min.css cat 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 uglifyjs -nc bootstrap/js/bootstrap.js > bootstrap/js/bootstrap.min.tmp.js echo "/*!\n* Bootstrap.js by @fat & @mdo\n* Copyright 2012 Twitter, Inc.\n* http://www.apache.org/licenses/LICENSE-2.0.txt\n*/" > bootstrap/js/copyright.js -- cgit v1.2.3