From f154ae1ec88146017abf3de9d14d119facb5fc4c Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Sat, 3 Jun 2017 18:00:51 -0400 Subject: Basic web app --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0fa6116 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +all: kill build start + +build: + go build . + +kill: + -kill $$(cat pid) + -rm -f pid + +start: + ./lastfm & echo $$! > pid + +watch: + watchman-make -p '*.go' 'templates/*.tmpl' -t all -- cgit v1.2.3-70-g09d2