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

start:
	@nix-shell --command "tmuxinator local"

stop:
	@nix-shell --command "tmux kill-session -t personalPage"

clean:
	@cabal new-clean > /dev/null

watch:
	@nodemon --watch src/ application.conf ./data.yaml resume/ --ext hs,conf,yaml,cls --exec 'clear && make build-and-launch-server --silent'

build-and-launch-server:
	@(pkill personalPage || true) && (cabal new-run || true)

.PHONY: build
build:
	@cabal new-build || true