Parcourir la source

hack/scripts-dev: add "build-etcd-test-proxy" to Makefile

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee il y a 8 ans
Parent
commit
27d938f825
1 fichiers modifiés avec 8 ajouts et 0 suppressions
  1. 8 0
      hack/scripts-dev/Makefile

+ 8 - 0
hack/scripts-dev/Makefile

@@ -423,3 +423,11 @@ docker-dns-srv-test-certs-wildcard-run:
 	  --mount type=bind,source=`pwd`/hack/scripts-dev/docker-dns-srv/certs-wildcard,destination=/certs-wildcard \
 	  gcr.io/etcd-development/etcd-dns-srv-test:go$(_GO_VERSION) \
 	  /bin/bash -c "cd /etcd && /certs-wildcard/run.sh && rm -rf m*.etcd"
+
+
+
+# Example:
+#   make build-etcd-test-proxy -f ./hack/scripts-dev/Makefile
+
+build-etcd-test-proxy:
+	go build -v -o ./bin/etcd-test-proxy ./cmd/tools/etcd-test-proxy