mirror of
https://github.com/MedzikUser/go-pingbot
synced 2024-08-14 23:57:07 +00:00
18 lines
264 B
Makefile
18 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
|