aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 446fb1851570db92a27b94991bb1c772c6717779 (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:
	@stack exec personalPage clean > /dev/null 2>&1 || true
	@stack clean > /dev/null

install:
	@stack setup

build:
	@stack build
	@stack exec personalPage build

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

watch-command:
	@(killall personalPage || :) && sleep 1 && stack build && stack exec personalPage clean && stack exec personalPage watch