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