diff options
| author | Horus3 | 2015-02-19 00:03:18 +0100 |
|---|---|---|
| committer | Horus3 | 2015-02-19 00:03:18 +0100 |
| commit | 58e63343703e0c3f3c12934e62fc0f4575761869 (patch) | |
| tree | c60acb1bb97cdd47a6c7ee1c5a2e38d50f0f84c4 /Makefile | |
| parent | c6260f34b931bdda82d3dab256f4420caa1a45aa (diff) | |
| parent | cb5f3037bb18403433c2cfd0271f6bea76906aca (diff) | |
| download | statuspage-58e63343703e0c3f3c12934e62fc0f4575761869.tar.gz | |
Merged.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 17 |
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 |
