From 8e448ffc31685427afaee62a0379c33525769a6a Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 5 Mar 2017 15:44:50 +0100 Subject: Use stack --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3