mirror of
https://github.com/MedzikUser/go-pingbot
synced 2024-08-14 23:57:07 +00:00
19 lines
275 B
Makefile
19 lines
275 B
Makefile
BINARY_NAME := pingbot.out
|
|
|
|
# executables
|
|
GO := go
|
|
GORELEASER := goreleaser
|
|
|
|
# build flags
|
|
BUILD_FLAGS :=
|
|
|
|
build:
|
|
$(GO) mod tidy
|
|
$(GO) build $(BUILD_FLAGS) -o $(BINARY_NAME)
|
|
|
|
snapshot:
|
|
$(GORELEASER) --snapshot --rm-dist
|
|
|
|
clean:
|
|
$(GO) clean
|
|
rm -rf pingbot* dist/
|