auto-deploy-service/Makefile

11 lines
171 B
Makefile
Raw Permalink Normal View History

2021-06-13 15:08:34 +00:00
.PHONY: clean build
BIN_NAME := deploy
build:
CGO_ENABLED=0 go build -buildmode=pie -ldflags '-w -s' -o $(BIN_NAME) ./cmd/svc/main.go
2021-06-13 15:08:34 +00:00
clean:
rm $(BIN_NAME)
go clean