go-pingbot/Makefile

19 lines
264 B
Makefile

BINARY_OUT := pingbot.out
# executables
GO := go
GORELEASER := goreleaser
# build flags
BUILD_FLAGS :=
build:
$(GO) mod tidy
$(GO) build ${BUILD_FLAGS} -o ${BINARY_OUT} ./cmd/pingbot
snapshot:
$(GORELEASER) --snapshot --rm-dist
clean:
$(GO) clean