aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 358c842..908f5ac 100644
--- a/Makefile
+++ b/Makefile
@@ -12,22 +12,21 @@ test:
clean:
@rm -rf node_modules
@rm -rf .psc-package
- @stack exec cooking clean > /dev/null 2>&1 || true
- @stack clean > /dev/null
+ @cabal new-exec cooking clean > /dev/null 2>&1 || true
+ @cabal new-clean > /dev/null
install:
@npm install
@psc-package install
- @stack setup
.PHONY: build
build:
- @stack build
- @stack exec cooking build
+ @cabal new-build
+ @cabal new-exec cooking build
deploy:
- @make build
- @stack exec cooking deploy
+ @make clean build
+ @cabal new-exec cooking deploy
watch:
@nodemon --watch src -e hs --exec 'make watch-command --silent'
@@ -36,4 +35,4 @@ watch-js:
@pulp --psc-package --watch build --src-path js
watch-command:
- @(killall cooking || :) && sleep 1 && stack build && stack exec cooking watch
+ @(killall cooking || :) && sleep 1 && cabal new-build && cabal new-exec cooking watch