zk/go
2021-03-18 19:39:06 +01:00

7 lines
209 B
Bash
Executable File

#!/bin/bash
VERSION=`git describe --tags --match v[0-9]* 2> /dev/null`
BUILD=`git rev-parse --short HEAD`
CGO_ENABLED=1 go $1 -tags "fts5 icu" -ldflags "-X=main.Version=$VERSION -X=main.Build=$BUILD" ${@:2}