pcgamedb/build.sh

5 lines
175 B
Bash
Raw Permalink Normal View History

2024-09-24 06:17:11 -04:00
go install github.com/swaggo/swag/cmd/swag@latest
swag init
CGO_ENABLED=0
2024-11-20 06:09:04 -05:00
go build -o pcgamedb -ldflags "-s -w -X pcgamedb/constant.Version=$(git describe --tags --always)" .