mirror of
https://github.com/alvierahman90/gohookr.git
synced 2024-11-21 12:59:52 +00:00
update makefile
This commit is contained in:
parent
cdd19d95e9
commit
f3cdde5fe6
4
Makefile
4
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user