blob: 2717f9b5772cde988bb10c55466fe2f09a5df980 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Server
# ------
clean-server:
@stack clean > /dev/null
install-server:
@stack setup
build-server:
@stack build || :
launch-server:
@(killall sharedCost || :) && stack exec sharedCost
watch-server:
@nodemon -e hs,conf --exec 'clear && make build-server --silent && make launch-server'
# Client
# ------
clean-client:
@rm -r elm-stuff >/dev/null 2>&1 || true
install-client:
@elm package install --yes
build-client:
@elm make src/client/Main.elm --output public/javascripts/client.js || true
watch-client:
@nodemon -e elm --exec 'clear && make build-client --silent'
|