go.etcd.io/etcd@v3.3.27+incompatible/functional/build (about)

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