1 2 3 4 5 6 7 8 9 10
#!/bin/bash set -e source "$(dirname ${0})/common.sh" if [ "${RACE}" == "1" ]; then export GOFLAGS="$GOFLAGS -race" fi ( cd ../; go build $GOFLAGS -tags="$GOTAGS" )