and with that support all databases the bot does support Signed-off-by: Knut Ahlers <knut@ahlers.me>
11 lines
252 B
Makefile
11 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
|