summaryrefslogtreecommitdiffstats
path: root/js/Makefile
diff options
context:
space:
mode:
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/ & \