surrealpatch/build/flags.sh

9 lines
218 B
Bash
Raw Normal View History

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