summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHorus32015-02-19 00:03:18 +0100
committerHorus32015-02-19 00:03:18 +0100
commit58e63343703e0c3f3c12934e62fc0f4575761869 (patch)
treec60acb1bb97cdd47a6c7ee1c5a2e38d50f0f84c4 /Makefile
parentc6260f34b931bdda82d3dab256f4420caa1a45aa (diff)
parentcb5f3037bb18403433c2cfd0271f6bea76906aca (diff)
downloadstatuspage-58e63343703e0c3f3c12934e62fc0f4575761869.tar.gz
Merged.
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