summaryrefslogtreecommitdiff
path: root/app/Makefile
diff options
context:
space:
mode:
authorHorus32015-02-19 16:55:23 +0100
committerHorus32015-02-19 16:55:23 +0100
commit9fd1b6a54c77f78df1031a620fe3fb3887eda56d (patch)
treea22686f2eac23c7a47e9ccd9aa3962aa80a5bf64 /app/Makefile
parent5da13e75c013688f4fda1e57a5b3968332caa760 (diff)
downloadstatuspage-9fd1b6a54c77f78df1031a620fe3fb3887eda56d.tar.gz
Add health check.
Diffstat (limited to 'app/Makefile')
-rw-r--r--app/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Makefile b/app/Makefile
index 4356e21..c614492 100644
--- a/app/Makefile
+++ b/app/Makefile
@@ -12,14 +12,14 @@ IMPORT_FILE:=import.go
all: kill build run
-clean:
+clean: kill
@echo "Removing import file..."
@rm $(IMPORT_FILE) || true
@echo "Removing sqlite3 database..."
- @rm $(STATUS_DB_CREDENTIALS)
+ @rm $(STATUS_DB_CREDENTIALS) || true
@echo "Removing binary..."
@rm statuspage
- @echo "Done"
+ @echo "Done."
build:
@echo "package main" > $(IMPORT_FILE)