summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHorus_Arch2015-02-18 17:03:41 +0100
committerHorus_Arch2015-02-18 17:03:41 +0100
commitcb5f3037bb18403433c2cfd0271f6bea76906aca (patch)
tree448397529fdbd1660b12001918289e04aa1c7ea6 /Makefile
parentd6ab45e8ec5f26004b4efc07383245051d546bf3 (diff)
downloadstatuspage-cb5f3037bb18403433c2cfd0271f6bea76906aca.tar.gz
Reimplementation with gorilla toolkit.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..64c916d
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+export STATUS_DB_DRIVER:=sqlite3
+export STATUS_DB_CREDENTIALS:=status.db
+
+all: kill build run
+
+clean:
+ rm status.db
+ rm statuspage
+
+build:
+ go build
+
+run:
+ ./statuspage &
+
+kill:
+ pkill statuspage || true