surrealpatch/build/flags.sh
Tobie Morgan Hitchcock ac32915f63 Fix build tags
2016-03-18 16:19:09 +00:00

8 lines
220 B
Bash
Executable file

#!/usr/bin/env sh
set -eu
cd "$(dirname "${0}")/.."
echo '-X "github.com/abcum/surreal/util/build.rev='$(git rev-parse HEAD)'"' \
'-X "github.com/abcum/surreal/util/build.time='$(date -u '+%Y/%m/%d %H:%M:%S')'"'