tgbot_misaka_5882f7/Makefile

17 lines
366 B
Makefile
Raw Normal View History

2022-11-21 16:17:16 +09:00
build: lint
2022-11-21 04:39:21 +09:00
CGO_ENABLED=0 go build -v -trimpath -ldflags='-s -w'
2022-11-21 16:17:16 +09:00
lint:
golangci-lint run ./...
2022-11-21 04:39:21 +09:00
pack: build
2023-03-07 17:07:50 +09:00
tar --owner root --group root -c tgbot_misaka_5882f7 | zstdmt -9v --long > tgbot_misaka_5882f7.tar.zst
2022-11-21 04:39:21 +09:00
send: pack
2022-11-21 14:43:21 +09:00
wh send tgbot_misaka_5882f7.tar.zst --force-relay
2022-11-21 04:39:21 +09:00
2022-11-21 14:43:21 +09:00
clean:
rm -f tgbot_misaka_5882f7 tgbot_misaka_5882f7.*
.PHONY: build pack send clean