diff options
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 |