From 0fe906ae7453aa684e998bbcc7a78b62d84f0206 Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Sun, 6 Apr 2014 22:55:16 +0200 Subject: Show resume and projects from a configuration file --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e350236 --- /dev/null +++ b/Makefile @@ -0,0 +1,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 -- cgit v1.2.3