diff options
author | Joris | 2017-03-05 15:44:50 +0100 |
---|---|---|
committer | Joris | 2017-03-05 15:44:50 +0100 |
commit | 8e448ffc31685427afaee62a0379c33525769a6a (patch) | |
tree | 4199b4aaf6734718f3ff65afcab422e46543ddea /Makefile | |
parent | a269afd23073d03faee7f3c17bdbcf8f6b5de903 (diff) |
Use stack
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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 |