Revision bdd57848dccc3726f2f5ef46abcc968b577b5fea authored by Gyuho Lee on 18 August 2020, 18:45:15 UTC, committed by Gyuho Lee on 18 August 2020, 18:45:15 UTC
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
1 parent fd9a5b0
Raw File
build
#!/usr/bin/env bash

if ! [[ "$0" =~ "functional/build" ]]; then
  echo "must be run from repository root"
  exit 255
fi

CGO_ENABLED=0 go build -v -installsuffix cgo -ldflags "-s" -o ./bin/etcd-agent ./functional/cmd/etcd-agent
CGO_ENABLED=0 go build -v -installsuffix cgo -ldflags "-s" -o ./bin/etcd-proxy ./functional/cmd/etcd-proxy
CGO_ENABLED=0 go build -v -installsuffix cgo -ldflags "-s" -o ./bin/etcd-runner ./functional/cmd/etcd-runner
CGO_ENABLED=0 go build -v -installsuffix cgo -ldflags "-s" -o ./bin/etcd-tester ./functional/cmd/etcd-tester
back to top