surrealpatch/build/flags.sh
Tobie Morgan Hitchcock c09f1e1dfe Add initial Makefile
2016-02-26 17:24:22 +00:00

8 lines
218 B
Bash
Executable file

#!/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')'"'