twitch-bot-streak/Makefile

11 lines
252 B
Makefile
Raw Normal View History

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