Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Add target 'run' to Makefile

Kailash Nadhe43c9b88e946
diff --git a/Makefile b/Makefile
index fb3815b7..c8816e78 100644
--- a/Makefile
+++ b/Makefile
@@ -51,6 +51,10 @@ build:
go build -o ${BIN} -ldflags="-s -w -X 'main.buildVersion=${VERSION}' -X 'main.buildDate=${BUILD_DATE}'"
stuffbin -a stuff -in ${BIN} -out ${BIN} ${STATIC}
+.PHONY: run
+run: build
+ ./${BIN}
+
.PHONY: deps
deps:
go get -u github.com/knadh/stuffbin/...