Parcourir la source

build: build etcdctlv3 by default

Any reason not to? It makes demoing etcd easier with the V3 procfile.
Brandon Philips il y a 9 ans
Parent
commit
7d2aee8eca
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      build

+ 1 - 0
build

@@ -31,3 +31,4 @@ fi
 # Static compilation is useful when etcd is run in a container
 CGO_ENABLED=0 go build $GO_BUILD_FLAGS -installsuffix cgo -ldflags "-s -X ${REPO_PATH}/version.GitSHA${LINK_OPERATOR}${GIT_SHA}" -o bin/etcd ${REPO_PATH}
 CGO_ENABLED=0 go build $GO_BUILD_FLAGS -installsuffix cgo -ldflags "-s" -o bin/etcdctl ${REPO_PATH}/etcdctl
+CGO_ENABLED=0 go build $GO_BUILD_FLAGS -installsuffix cgo -ldflags "-s" -o bin/etcdctlv3 ${REPO_PATH}/etcdctlv3