From f53fa2f2f9eb445527e0a1b29b9e37c224499233 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Thu, 19 Feb 2015 02:38:34 +0100 Subject: Reorder files and parses templates. --- app/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app/Makefile (limited to 'app/Makefile') diff --git a/app/Makefile b/app/Makefile new file mode 100644 index 0000000..f246e69 --- /dev/null +++ b/app/Makefile @@ -0,0 +1,21 @@ +export STATUS_DB_DRIVER:=sqlite3 +export STATUS_DB_CREDENTIALS:=../db/status.db + +all: kill build run + +clean: + @echo "Removing sqlite3 database..." + @rm $$STATUS_DB_CREDENTIALS + @echo "Removing binary..." + @rm statuspage + @echo "Done" + +build: + go build -o statuspage + +run: + ./statuspage & + +kill: + @echo "Killing running instances..." + @pkill statuspage || true -- cgit v1.2.3