From c56a7245e667e8c610c93ef293e715c5777db243 Mon Sep 17 00:00:00 2001 From: Joris Date: Mon, 20 Jan 2020 23:44:27 +0100 Subject: Use cabal instead of stack --- Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3