11 lines
157 B
Makefile
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
|