tgbot_misaka_5882f7/Makefile

14 lines
323 B
Makefile

build:
CGO_ENABLED=0 go build -v -trimpath -ldflags='-s -w'
pack: build
tar --owner root --group root -c tgbot_misaka_5882f7 | zstdmt -15v > tgbot_misaka_5882f7.tar.zst
send: pack
wh send tgbot_misaka_5882f7.tar.zst --force-relay
clean:
rm -f tgbot_misaka_5882f7 tgbot_misaka_5882f7.*
.PHONY: build pack send clean