update makefile
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,11 +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 -f dist/*
|
||||
rm -rf dist/*
|
Reference in New Issue
Block a user