2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-30 15:24:08 +03:00

add "make watch" to auto watch less files - change patterns.less to use opacity method

This commit is contained in:
Jacob Thornton
2011-07-01 23:21:11 -07:00
parent 26f9e8c4e8
commit 52dfbe6500
4 changed files with 29 additions and 13 deletions
+6 -2
View File
@@ -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