auto-deploy-service/Makefile
2021-06-13 23:08:34 +08:00

11 lines
157 B
Makefile

.PHONY: clean build
BIN_NAME := deploy
build:
go build -buildmode=pie -ldflags '-w -s' -o $(BIN_NAME) ./cmd/svc/main.go
clean:
rm $(BIN_NAME)
go clean