Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
8174705b
Commit
8174705b
authored
Feb 12, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update makefile to work given nuked docs dir
parent
8b9733b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
Makefile
Makefile
+13
-13
No files found.
Makefile
View file @
8174705b
BOOTSTRAP
=
./
docs/
assets/css/bootstrap.css
BOOTSTRAP
=
./assets/css/bootstrap.css
BOOTSTRAP_LESS
=
./less/bootstrap.less
BOOTSTRAP_LESS
=
./less/bootstrap.less
DATE
=
$(
shell
date
+%I:%M%p
)
DATE
=
$(
shell
date
+%I:%M%p
)
CHECK
=
\0
33[32m✔
\0
33[39m
CHECK
=
\0
33[32m✔
\0
33[39m
...
@@ -23,11 +23,11 @@ build:
...
@@ -23,11 +23,11 @@ build:
# @cp js/*.js docs/assets/js/
# @cp js/*.js docs/assets/js/
# @cp js/tests/vendor/jquery.js docs/assets/js/
# @cp js/tests/vendor/jquery.js docs/assets/js/
# @echo "Compiling documentation... ${CHECK} Done"
# @echo "Compiling documentation... ${CHECK} Done"
@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
js/bootstrap-affix.js
>
docs/
assets/js/bootstrap.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
js/bootstrap-affix.js
>
assets/js/bootstrap.js
@./node_modules/.bin/uglifyjs
-nc
docs/assets/js/bootstrap.js
>
docs/
assets/js/bootstrap.min.tmp.js
@./node_modules/.bin/uglifyjs
-nc
assets/js/bootstrap.js
>
assets/js/bootstrap.min.tmp.js
@echo "/**\n* Bootstrap.js v3.0.0 by @fat & @mdo\n* Copyright 2012 Twitter, Inc.\n* http
:
//www.apache.org/licenses/LICENSE-2.0.txt
\n
*/" >
docs/
assets/js/copyright.js
@echo "/**\n* Bootstrap.js v3.0.0 by @fat & @mdo\n* Copyright 2012 Twitter, Inc.\n* http
:
//www.apache.org/licenses/LICENSE-2.0.txt
\n
*/" > assets/js/copyright.js
@
cat
docs/assets/js/copyright.js docs/assets/js/bootstrap.min.tmp.js
>
docs/
assets/js/bootstrap.min.js
@
cat
assets/js/copyright.js assets/js/bootstrap.min.tmp.js
>
assets/js/bootstrap.min.js
@
rm
docs/assets/js/copyright.js docs/
assets/js/bootstrap.min.tmp.js
@
rm
assets/js/copyright.js
assets/js/bootstrap.min.tmp.js
@
echo
"Compiling and minifying javascript...
${CHECK}
Done"
@
echo
"Compiling and minifying javascript...
${CHECK}
Done"
@
echo
"
\n
${HR}
"
@
echo
"
\n
${HR}
"
@
echo
"Bootstrap successfully built at
${DATE}
."
@
echo
"Bootstrap successfully built at
${DATE}
."
...
@@ -103,13 +103,13 @@ bootstrap/fonts/*: fonts/*
...
@@ -103,13 +103,13 @@ bootstrap/fonts/*: fonts/*
# MAKE FOR GH-PAGES 4 FAT & MDO ONLY (O_O )
# MAKE FOR GH-PAGES 4 FAT & MDO ONLY (O_O )
#
#
gh-pages
:
bootstrap docs
#
gh-pages: bootstrap docs
rm
-f
docs/assets/bootstrap.zip
#
rm -f docs/assets/bootstrap.zip
zip
-r
docs/assets/bootstrap.zip bootstrap
#
zip -r docs/assets/bootstrap.zip bootstrap
rm
-r
bootstrap
#
rm -r bootstrap
rm
-f
../bootstrap-gh-pages/assets/bootstrap.zip
#
rm -f ../bootstrap-gh-pages/assets/bootstrap.zip
node docs/build production
#
node docs/build production
cp
-r
docs/
*
../bootstrap-gh-pages
#
cp -r docs/* ../bootstrap-gh-pages
#
#
# WATCH LESS FILES
# WATCH LESS FILES
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment