update makefile
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,11 +1,13 @@
|
|||||||
.PHONY: build test clean
|
.PHONY: build test clean
|
||||||
|
|
||||||
build: clean
|
build: clean
|
||||||
|
@echo "======================== Building Binary ======================="
|
||||||
CGO_ENABLED=0 go build -ldflags="-s -w" -v -o dist/ .
|
CGO_ENABLED=0 go build -ldflags="-s -w" -v -o dist/ .
|
||||||
|
|
||||||
test: clean
|
test: clean
|
||||||
go run .
|
go run .
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
@echo "======================== Cleaning Project ======================"
|
||||||
go clean
|
go clean
|
||||||
rm -f dist/*
|
rm -rf dist/*
|
Reference in New Issue
Block a user