blob: aaedc921a850b5b86e19b1d84ef4fded754d79f7 (
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
|
all: build
start:
@nix-shell --command "mux local"
stop:
@tmux kill-session -t cooking
clean:
@rm -rf bower_components
@rm -rf node_modules
@stack exec cooking clean > /dev/null 2>&1 || true
@stack clean > /dev/null
install:
@yarn install
@bower install
@stack setup
.PHONY: build
build:
@stack build
@stack exec cooking build
watch:
@nodemon --watch src -e hs --exec 'make watch-command --silent'
watch-command:
@(killall cooking || :) && sleep 1 && stack build && stack exec cooking watch
|