surrealpatch/build/flags.sh

9 lines
220 B
Bash
Raw Normal View History

2016-02-26 17:24:22 +00:00
#!/usr/bin/env sh
set -eu
cd "$(dirname "${0}")/.."
2016-03-18 16:19:09 +00:00
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')'"'