11 lines
171 B
Makefile
11 lines
171 B
Makefile
.PHONY: clean build
|
|
|
|
BIN_NAME := deploy
|
|
|
|
build:
|
|
CGO_ENABLED=0 go build -buildmode=pie -ldflags '-w -s' -o $(BIN_NAME) ./cmd/svc/main.go
|
|
|
|
clean:
|
|
rm $(BIN_NAME)
|
|
go clean
|