*: remove "./cmd/tools" in build commands

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee
2018-02-14 11:03:01 -08:00
parent 6ae9a7658a
commit 0210d27979
3 changed files with 4 additions and 4 deletions

View File

@ -47,7 +47,7 @@ RUN go get -v github.com/coreos/gofail \
&& cp ./bin/etcd-agent /etcd-agent \ && cp ./bin/etcd-agent /etcd-agent \
&& cp ./bin/etcd-tester /etcd-tester \ && cp ./bin/etcd-tester /etcd-tester \
&& cp ./bin/etcd-runner /etcd-runner \ && cp ./bin/etcd-runner /etcd-runner \
&& go build -v -o /benchmark ./cmd/tools/benchmark \ && go build -v -o /benchmark ./tools/benchmark \
&& go build -v -o /etcd-test-proxy ./cmd/tools/etcd-test-proxy \ && go build -v -o /etcd-test-proxy ./tools/etcd-test-proxy \
&& popd \ && popd \
&& rm -rf ${GOPATH}/src/github.com/coreos/etcd && rm -rf ${GOPATH}/src/github.com/coreos/etcd

View File

@ -418,7 +418,7 @@ docker-dns-srv-test-certs-wildcard-run:
# make build-etcd-test-proxy -f ./hack/scripts-dev/Makefile # make build-etcd-test-proxy -f ./hack/scripts-dev/Makefile
build-etcd-test-proxy: build-etcd-test-proxy:
go build -v -o ./bin/etcd-test-proxy ./cmd/tools/etcd-test-proxy go build -v -o ./bin/etcd-test-proxy ./tools/etcd-test-proxy

View File

@ -20,7 +20,7 @@ $ ETCDCTL_API=3 ./bin/etcdctl --endpoints localhost:23790 put foo bar
Proxy overhead per request is under 500μs Proxy overhead per request is under 500μs
```bash ```bash
$ go build -v -o ./bin/benchmark ./cmd/tools/benchmark $ go build -v -o ./bin/benchmark ./tools/benchmark
$ ./bin/benchmark \ $ ./bin/benchmark \
--endpoints localhost:2379 \ --endpoints localhost:2379 \