diff options
author | Joris | 2020-01-20 23:44:27 +0100 |
---|---|---|
committer | Joris | 2020-01-20 23:44:27 +0100 |
commit | c56a7245e667e8c610c93ef293e715c5777db243 (patch) | |
tree | 3a685c70b6e686a172fa02a593384164285cc461 /Makefile | |
parent | 107b44872ddfbac8c681a6481f4a9f4b5f61d818 (diff) |
Use cabal instead of stack
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -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 |