twitch-bot-streak/Makefile
Knut Ahlers f1d35ce7c0
Switch to properly tested database interface
and with that support all databases the bot does support

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-03-24 13:29:57 +01:00

10 lines
252 B
Makefile

default: build
build: export CGO_ENABLED=0
build:
go build \
-ldflags "-X main.version=$(shell git describe --tags --always || echo dev)" \
-mod=readonly \
-modcacherw \
-trimpath
tar -czf twitch-bot-streak_linux_amd64.tgz twitch-bot-streak