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
43b01d1b
Commit
43b01d1b
authored
Sep 03, 2011
by
Jacob Thornton
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #149 from yury/version_var
use VERSION var in build script
parents
2589c0ac
fe8cb55c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
Makefile
Makefile
+4
-3
lib/bootstrap.less
lib/bootstrap.less
+1
-1
No files found.
Makefile
View file @
43b01d1b
VERSION
=
1.2.0
DATE
=
$(
shell
DATE
)
DATE
=
$(
shell
DATE
)
BOOTSTRAP
=
./bootstrap-
1.2.0
.css
BOOTSTRAP
=
./bootstrap-
${VERSION}
.css
BOOTSTRAP_MIN
=
./bootstrap-
1.2.0
.min.css
BOOTSTRAP_MIN
=
./bootstrap-
${VERSION}
.min.css
BOOTSTRAP_LESS
=
./lib/bootstrap.less
BOOTSTRAP_LESS
=
./lib/bootstrap.less
LESS_COMPESSOR
?=
`
which lessc
`
LESS_COMPESSOR
?=
`
which lessc
`
WATCHR
?=
`
which watchr
`
WATCHR
?=
`
which watchr
`
build
:
build
:
@
@if
test
!
-z
${LESS_COMPESSOR}
;
then
\
@
@if
test
!
-z
${LESS_COMPESSOR}
;
then
\
sed
's/@DATE/'
"
${DATE}
"
'/'
${BOOTSTRAP_LESS}
>
${BOOTSTRAP_LESS}
.tmp
;
\
sed
-e
's/@VERSION/'
"v
${VERSION}
"
'/'
-e
's/@DATE/'
"
${DATE}
"
'/'
<
${BOOTSTRAP_LESS}
>
${BOOTSTRAP_LESS}
.tmp
;
\
lessc
${BOOTSTRAP_LESS}
.tmp
>
${BOOTSTRAP}
;
\
lessc
${BOOTSTRAP_LESS}
.tmp
>
${BOOTSTRAP}
;
\
lessc
${BOOTSTRAP_LESS}
.tmp
>
${BOOTSTRAP_MIN}
--compress
;
\
lessc
${BOOTSTRAP_LESS}
.tmp
>
${BOOTSTRAP_MIN}
--compress
;
\
rm
-f
${BOOTSTRAP_LESS}
.tmp
;
\
rm
-f
${BOOTSTRAP_LESS}
.tmp
;
\
...
...
lib/bootstrap.less
View file @
43b01d1b
/*!
/*!
* Bootstrap
v1.2.0
* Bootstrap
@VERSION
*
*
* Copyright 2011 Twitter, Inc
* Copyright 2011 Twitter, Inc
* Licensed under the Apache License v2.0
* Licensed under the Apache License v2.0
...
...
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