-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
41 lines (32 loc) · 1.01 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env bash
cd "$(dirname "$0")"
rm -rf ./vendor
mkdir ./vendor
# envoy
git clone [email protected]:envoyproxy/data-plane-api.git
cp -R data-plane-api/envoy ./vendor/envoy
rm -rf data-plane-api
# validate
git clone [email protected]:envoyproxy/protoc-gen-validate.git
cp -R protoc-gen-validate/validate ./vendor/validate
rm -rf protoc-gen-validate
# google apis
git clone [email protected]:googleapis/googleapis.git
cp -R googleapis/google ./vendor/google
rm -rf googleapis
#git clone [email protected]:protocolbuffers/protobuf.git
#cp -R protobuf/src/google/protobuf ./vendor/google/protobuf
#rm -rf protobuf
# udpa
git clone [email protected]:cncf/udpa.git
cp -R udpa/udpa ./vendor/udpa
rm -rf udpa
# opencensus trace
git clone [email protected]:census-instrumentation/opencensus-proto.git
cp -R opencensus-proto/src/opencensus ./vendor/opencensus
rm -rf opencensus-proto
# prometheus metrics
git clone [email protected]:prometheus/client_model.git
cp client_model/metrics.proto ./vendor/metrics.proto
rm -rf client_model
bash ./gen.sh