diff options
author | Joris | 2019-02-02 17:14:33 +0100 |
---|---|---|
committer | Joris | 2019-02-02 17:14:33 +0100 |
commit | 142e0c9fac9896f8cb134fd1e1b010753402e7b8 (patch) | |
tree | 6315c75f5d8a2a0c4f6e6b7251f621fde933ac9f /Makefile | |
parent | fb470f57438047ac8bd635dc485881ebae4ab0ff (diff) |
Make it works and add “galette” recipe
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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 |