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:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 34e0d7b1da..7a962a3e5b 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