twitch-bot-streak/Makefile

10 lines
190 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