build 491 B

12345678910
  1. #!/usr/bin/env bash
  2. if ! [[ "$0" =~ "tools/functional-tester/build" ]]; then
  3. echo "must be run from repository root"
  4. exit 255
  5. fi
  6. CGO_ENABLED=0 go build -a -installsuffix cgo -ldflags "-s" -o bin/etcd-agent ./tools/functional-tester/cmd/etcd-agent
  7. CGO_ENABLED=0 go build -a -installsuffix cgo -ldflags "-s" -o bin/etcd-tester ./tools/functional-tester/cmd/etcd-tester
  8. CGO_ENABLED=0 go build -a -installsuffix cgo -ldflags "-s" -o bin/etcd-runner ./tools/functional-tester/cmd/etcd-runner