aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoris2020-01-20 23:44:27 +0100
committerJoris2020-01-20 23:44:27 +0100
commitc56a7245e667e8c610c93ef293e715c5777db243 (patch)
tree3a685c70b6e686a172fa02a593384164285cc461 /Makefile
parent107b44872ddfbac8c681a6481f4a9f4b5f61d818 (diff)
Use cabal instead of stack
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