From 7091d40b31d4e9fe32ab15b865397e9abf0ba5d8 Mon Sep 17 00:00:00 2001 From: Joris Date: Wed, 25 May 2016 14:31:53 +0200 Subject: Init with potimarron page --- Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3