build.sh 191 B

12345
  1. go test -o promdb_test -c -args
  2. installpath=`go env GOPATH | awk -F ':' '{print $1}'`/bin
  3. CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go test -o ${installpath}/linux_amd64/promdb_test -c -args