summaryrefslogtreecommitdiffstats
path: root/js/Makefile
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-09-09 15:57:10 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-09-09 15:57:18 +0200
commit2824b43b7332e847810f042c4183ce95ee90e852 (patch)
tree9a10f31c8acbf01d72336d3d065f8c8fda4b83c5 /js/Makefile
parentf0abeddd07fcf21e30c95d58885416ef40d65391 (diff)
use bower for managing deps
Diffstat (limited to 'js/Makefile')
-rw-r--r--js/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/Makefile b/js/Makefile
index 7a387b3f3..2f1afda29 100644
--- a/js/Makefile
+++ b/js/Makefile
@@ -21,13 +21,18 @@ chrome_bin=/usr/bin/chromium
coffee=$(CURDIR)/node_modules/coffee-script/bin/coffee
grunt=$(CURDIR)/node_modules/grunt-cli/bin/grunt
phantomjs=/usr/bin/phantomjs
+bower=$(CURDIR)/node_modules/bower/bin/bower
all: compile
+
deps:
cd $(CURDIR)/
npm install --deps
+update: deps
+ $(bower) update
+
watch: compile
$(coffee) --compile --watch --output $(CURDIR)/build/app $(CURDIR)/app/ & \
$(coffee) --compile --watch --output $(CURDIR)/build/tests $(CURDIR)/tests/ & \