aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 2db5bff08add1d83ec373ffac6cb81d274bc0816 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.PHONY: format
format:
	fourmolu -i app/ src/

.PHONY: lint
lint:
	find {app,src}/ | entr -c hlint src/ app/

.PHONY: run
run:
	find {app,src}/ | entr -cr cabal new-run uncron -- "* * * * *"

.PHONY: build
build:
	find {app,src}/ | entr -c cabal new-build uncron

.PHONY: repl
repl:
	ghcid --allow-eval --lint --command "cabal repl uncron"