blob: 6e56aad3e590dd31ddede5cb846ae25a74ce6e9b (
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
|
all: build
start:
@nix-shell --command "tmuxinator local"
stop:
@tmux kill-session -t personalPage
clean:
@cabal new-exec personalPage clean > /dev/null 2>&1 || true
@cabal new-clean
build:
@cabal new-build
@cabal new-exec personalPage build
deploy:
@make clean build
@cabal new-exec personalPage deploy
watch:
@nodemon --watch src -e hs --exec 'make watch-command --silent'
watch-command:
@(killall personalPage || :) && sleep 1 && cabal new-build && cabal new-exec personalPage clean && cabal new-exec personalPage watch
|