aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
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