update makefile

This commit is contained in:
2023-10-28 21:46:15 +01:00
parent cdd19d95e9
commit f3cdde5fe6

View File

@@ -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