aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2011-07-01 23:21:11 -0700
committerJacob Thornton <[email protected]>2011-07-01 23:21:11 -0700
commit52dfbe65006e1be7df88d1c1d39dc151ebc672aa (patch)
tree9a1ad410971096915a113691ef9a4b4ff0552fea /Makefile
parent26f9e8c4e8580c2d41f31a4fb504ee8c0fdeb145 (diff)
downloadbootstrap-52dfbe65006e1be7df88d1c1d39dc151ebc672aa.tar.xz
bootstrap-52dfbe65006e1be7df88d1c1d39dc151ebc672aa.zip
add "make watch" to auto watch less files - change patterns.less to use opacity method
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 34e0d7b1d..7a962a3e5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,14 @@
# NOTE: you must have the less npm package installed globally to build!
-# To install run: npm install less -g
-# ProTip: watchr -e "watch('lib/.*\.less') { system 'make' }"
+# To install less package run: $npm install less -g
+# watchr -e "watch('lib/.*\.less') { system 'make' }"
build:
@lessc ./lib/bootstrap.less > ./bootstrap-1.0.0.css
@lessc ./lib/bootstrap.less > ./bootstrap-1.0.0.min.css --compress
@echo "Bootstrap successfully built! - `date`"
+watch:
+ @echo "Watching less files for changes..."
+ @watchr -e "watch('lib/.*\.less') { system 'make' }"
+
.PHONY: build \ No newline at end of file