aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-03-08 11:39:00 -0800
committerJacob Thornton <[email protected]>2012-03-08 11:39:00 -0800
commitbcef12dfcc8d7e0df03437589f22174042745d78 (patch)
treea4195c17e6eac4d6982778c45be284df96452089 /Makefile
parent426feeef6a4cf251431c7a21a1c79b0477ef37a0 (diff)
downloadbootstrap-bcef12dfcc8d7e0df03437589f22174042745d78.tar.xz
bootstrap-bcef12dfcc8d7e0df03437589f22174042745d78.zip
add version to min js
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 923c0ced3..033196423 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,10 @@ bootstrap:
lessc ${BOOTSTRAP_RESPONSIVE_LESS} > bootstrap/css/bootstrap-responsive.css
lessc --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.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
+ cat bootstrap/js/copyright.js bootstrap/js/bootstrap.min.tmp.js > bootstrap/js/bootstrap.min.js
+ rm bootstrap/js/copyright.js bootstrap/js/bootstrap.min.tmp.js
#
# MAKE FOR GH-PAGES 4 FAT & MDO ONLY (O_O )