update makefile

This commit is contained in:
Akbar Rahman 2023-10-28 21:46:15 +01:00
parent cdd19d95e9
commit f3cdde5fe6
Signed by: alvierahman90
GPG Key ID: 20609519444A1269

View File

@ -3,9 +3,11 @@ all: install
clean: clean:
rm -rf gohookr rm -rf gohookr
install: build:
go mod tidy go mod tidy
go build -o gohookr go build -o gohookr
install: build
cp gohookr /usr/local/bin/ cp gohookr /usr/local/bin/
cp gohookr.service /usr/lib/systemd/system/ cp gohookr.service /usr/lib/systemd/system/
cp -n config.json /etc/gohookr.json cp -n config.json /etc/gohookr.json