add makefile

This commit is contained in:
2025-09-11 20:53:58 +00:00
parent fd94106ef1
commit a18db6da23
2 changed files with 15 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
go.sum
localdb.json
dist/*

13
Makefile Normal file
View File

@@ -0,0 +1,13 @@
.PHONY: build test clean
build: clean
@echo "======================== Building Binary ======================="
CGO_ENABLED=0 go build -ldflags="-s -w" -v -o dist/ .
test: clean
go run .
clean:
@echo "======================== Cleaning Project ======================"
go clean
rm -rf dist/*