go-pingbot/Makefile

19 lines
264 B
Makefile
Raw Normal View History

BINARY_OUT := pingbot.out
2021-10-22 20:27:08 +00:00
# executables
GO := go
GORELEASER := goreleaser
# build flags
BUILD_FLAGS :=
2021-07-11 21:19:37 +00:00
build:
2021-11-10 13:38:54 +00:00
$(GO) mod tidy
$(GO) build ${BUILD_FLAGS} -o ${BINARY_OUT} ./cmd/pingbot
2021-07-11 21:19:37 +00:00
snapshot:
2021-10-22 20:27:08 +00:00
$(GORELEASER) --snapshot --rm-dist
2021-07-11 21:19:37 +00:00
clean:
2021-10-22 20:27:08 +00:00
$(GO) clean