diff options
author | Joris | 2016-05-25 14:31:53 +0200 |
---|---|---|
committer | Joris | 2017-07-25 00:36:39 +0200 |
commit | 7091d40b31d4e9fe32ab15b865397e9abf0ba5d8 (patch) | |
tree | 237d92ecd75edf3a875b08921ea5e5eae8eac085 /Makefile |
Init with potimarron page
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e4b352c --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +all: build + +start: + @nix-shell --command "mux local" + +stop: + @tmux kill-session -t jardin + +clean: + @stack exec jardin clean > /dev/null 2>&1 || true + @stack clean > /dev/null + +install: + @stack setup + +.PHONY: build +build: + @stack build + @stack exec jardin build + +watch: + @nodemon --watch src -e hs --exec 'make watch-command --silent' + +watch-command: + @(killall jardin || :) && sleep 1 && stack build && stack exec jardin watch |