tglistbot/Makefile

13 lines
264 B
Makefile
Raw Normal View History

2023-04-05 11:17:07 -04:00
VERSION = $(shell git describe --tags --abbrev=0)
build_release:
2023-04-05 11:33:02 -04:00
CGO_ENABLED=0 go build -buildmode=pie -ldflags "-X main.Version=$(VERSION)" -o tglistbot-$(VERSION)
2023-04-05 11:17:07 -04:00
release_check:
go list -m go.balki.me/tglistbot@$(VERSION)
2023-04-05 11:33:02 -04:00
clean:
rm -i tglistbot* || true