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-16 04:03:33 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-04-16 04:03:33 +0400
commit6cf9906a60faa17c0463932c761b8280e9dce63c (patch)
tree8b2ae2ed5d28208bfcc1d4d5a4599419ed7bdce2 /Makefile
parentb67a2d8a59198528aec81a0c50d36aa371e10a9f (diff)
build bootstrap.js and bootstrap.min.js into docs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 78d1a84079..ecb7a00405 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,11 @@ docs:
cp img/* docs/assets/img/
cp js/*.js docs/assets/js/
cp js/tests/vendor/jquery.js docs/assets/js/
+ 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 > docs/assets/js/bootstrap.js
+ uglifyjs -nc docs/assets/js/bootstrap.js > docs/assets/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*/" > docs/assets/js/copyright.js
+ cat docs/assets/js/copyright.js docs/assets/js/bootstrap.min.tmp.js > docs/assets/js/bootstrap.min.js
+ rm docs/assets/js/copyright.js docs/assets/js/bootstrap.min.tmp.js
#
# BUILD SIMPLE BOOTSTRAP DIRECTORY