diff --git a/.gitignore b/.gitignore index f2e32c0..bcb3955 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ go.sum -localdb.json \ No newline at end of file +localdb.json +dist/* \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..92ea456 --- /dev/null +++ b/Makefile @@ -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/* \ No newline at end of file