aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 62f36a601eaf16b8e71477a3e899036bfce03461 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
all: build

clean:
	@./dist/build/Cooking/Cooking clean > /dev/null 2>&1 || true
	@cabal clean > /dev/null

install:
	@cabal build

.PHONY: build
build:
	@cabal run build

watch:
	@nodemon --watch src -e hs --exec 'make watch-command --silent'

watch-command:
	@(killall Cooking || :) && sleep 1 && cabal run watch