aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoris2019-02-02 17:14:33 +0100
committerJoris2019-02-02 17:14:33 +0100
commit142e0c9fac9896f8cb134fd1e1b010753402e7b8 (patch)
tree6315c75f5d8a2a0c4f6e6b7251f621fde933ac9f /Makefile
parentfb470f57438047ac8bd635dc485881ebae4ab0ff (diff)
Make it works and add “galette” recipe
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