aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 62f36a6..43f592e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,19 @@
all: build
clean:
- @./dist/build/Cooking/Cooking clean > /dev/null 2>&1 || true
- @cabal clean > /dev/null
+ @stack exec cooking clean > /dev/null 2>&1 || true
+ @stack clean > /dev/null
install:
- @cabal build
+ @stack setup
.PHONY: build
build:
- @cabal run build
+ @stack build
+ @stack exec cooking build
watch:
@nodemon --watch src -e hs --exec 'make watch-command --silent'
watch-command:
- @(killall Cooking || :) && sleep 1 && cabal run watch
+ @(killall cooking || :) && sleep 1 && stack build && stack exec cooking watch