add Makefile, move systemd service file to init folder

This commit is contained in:
2024-06-20 03:03:11 +00:00
parent df2d5f0bf7
commit e8dec2fbef
3 changed files with 20 additions and 11 deletions

9
Makefile Normal file
View File

@@ -0,0 +1,9 @@
build: clean
go build -ldflags="-s -w" -o dist/ .
test: clean
go run .
clean:
go clean
rm -f dist/*