From f3cdde5fe65397f9dd1e0b187c20b1ee420ed71a Mon Sep 17 00:00:00 2001 From: Alvie Rahman Date: Sat, 28 Oct 2023 21:46:15 +0100 Subject: [PATCH] update makefile --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bc09b9c..e00039a 100644 --- a/Makefile +++ b/Makefile @@ -3,9 +3,11 @@ all: install clean: rm -rf gohookr -install: +build: go mod tidy go build -o gohookr + +install: build cp gohookr /usr/local/bin/ cp gohookr.service /usr/lib/systemd/system/ cp -n config.json /etc/gohookr.json