blob: daa0ec12e3c801b0afb293b52d3f9bfcc683d98c (
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
|
all: build
start:
@nix-shell --command "tmuxinator local"
stop:
@tmux kill-session -t personalPage
clean:
@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
|