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>2011-09-16 22:24:07 +0400
committerJacob Thornton <jacobthornton@gmail.com>2011-09-16 22:24:07 +0400
commitc7c5ce8dcd4cc6c56bc64007bf31b93760dbf2ee (patch)
tree75c97593b25066d9c2d7bd76eef24e23d1f106d3 /Makefile
parentaa432390888bae158bbc3014eed9af55103d03aa (diff)
parent427a001c476569684027567e5a7cec89058185ad (diff)
Merge branch 'master' of github.com:twitter/bootstrap into 1.3-wip
Conflicts: Makefile README.md bootstrap.css bootstrap.min.css lib/bootstrap.less lib/scaffolding.less
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index ca99eaa185..b3dce89ac4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,4 @@
+VERSION=1.2.0
DATE=$(shell DATE)
BOOTSTRAP = ./bootstrap.css
BOOTSTRAP_MIN = ./bootstrap.min.css
@@ -7,10 +8,10 @@ WATCHR ?= `which watchr`
build:
@@if test ! -z ${LESS_COMPESSOR}; then \
- sed 's/@DATE/'"${DATE}"'/' ${BOOTSTRAP_LESS} >${BOOTSTRAP_LESS}.tmp && \
- lessc ${BOOTSTRAP_LESS}.tmp > ${BOOTSTRAP} && \
- lessc ${BOOTSTRAP_LESS}.tmp > ${BOOTSTRAP_MIN} --compress && \
- rm -f ${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_MIN} --compress; \
+ rm -f ${BOOTSTRAP_LESS}.tmp; \
echo "Bootstrap successfully built! - `date`"; \
else \
echo "You must have the LESS compiler installed in order to build Bootstrap."; \