aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c823259..2ab6ba2 100644
--- a/Makefile
+++ b/Makefile
@@ -7,17 +7,17 @@ stop:
@tmux kill-session -t cooking
test:
- @pulp test --src-path js
+ @pulp --psc-package test --src-path js
clean:
- @rm -rf bower_components
@rm -rf node_modules
+ @rm -rf .psc-package
@stack exec cooking clean > /dev/null 2>&1 || true
@stack clean > /dev/null
install:
- @yarn install
- @bower install
+ @npm install
+ @psc-package install
@stack setup
.PHONY: build
@@ -28,5 +28,8 @@ build:
watch:
@nodemon --watch src -e hs --exec 'make watch-command --silent'
+watch-js:
+ @pulp --psc-package --watch build --src-path js
+
watch-command:
@(killall cooking || :) && sleep 1 && stack build && stack exec cooking watch