From cfca18262c1ff48dcb683ddab7d03cf8e55573ff Mon Sep 17 00:00:00 2001 From: Joris Date: Fri, 24 Mar 2017 09:21:04 +0000 Subject: Features/categories --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 70c007a..72ab852 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,11 @@ all: build clean: - @cabal clean > /dev/null + @stack clean > /dev/null @rm -r elm-stuff >/dev/null 2>&1 || true install: + @stack setup @elm package install --yes # Watch @@ -27,10 +28,11 @@ watch-js: build-and-launch-server: build-server kill-server launch-server launch-server: - @./dist/build/sharedCost/sharedCost & + @stack exec sharedCost & kill-server: - @pkill sharedCost || true + @killall sharedCost || : + # Build # ----- @@ -39,7 +41,7 @@ kill-server: build: build-server build-elm build-js build-server: - @cabal build || true + @stack build || true build-elm: @elm make src/client/elm/Main.elm --output public/javascripts/client.js || true -- cgit v1.2.3