build 372 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 ./cmd/tools/functional-tester/etcd-agent
  7. CGO_ENABLED=0 go build -a -installsuffix cgo -ldflags "-s" -o bin/etcd-tester ./cmd/tools/functional-tester/etcd-tester