tgbot_misaka_5882f7/Makefile

11 lines
246 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
.PHONY: build pack send