Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-04-19 03:16:42 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-04-19 03:16:42 +0400
commitedb52a82d83d473071c20dfc4d8cb99742421950 (patch)
tree6a2a73e6b442062a13adcae13e2cf5d23539e9bd /Makefile
parentbc07e2adae7bc61795d54681915d791aee41c49a (diff)
make bootstrap compile with Recess instead of Less
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
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