@@ -109,29 +109,6 @@ lint: lint-copyright-banner format-go lint-go tidy-go lint-scripts gen-extension
109109 @scripts/check-repository.sh
110110 @scripts/check-style.sh
111111
112- protoc = protoc -I common-protos -I extensions
113- protoc_gen_docs_plugin := --docs_out=camel_case_fields=false,warnings=true,per_file=true,mode=html_fragment_with_front_matter:$(repo_dir ) /
114-
115- metadata_exchange_path := extensions/metadata_exchange
116- metadata_exchange_protos := $(wildcard $(metadata_exchange_path ) /* .proto)
117- metadata_exchange_docs := $(metadata_exchange_protos:.proto=.pb.html )
118- $(metadata_exchange_docs ) : $(metadata_exchange_protos )
119- @$(protoc ) -I ./extensions $(protoc_gen_docs_plugin )$(metadata_exchange_path ) $^
120-
121- stackdriver_path := extensions/stackdriver/config/v1alpha1
122- stackdriver_protos := $(wildcard $(stackdriver_path ) /* .proto)
123- stackdriver_docs := $(stackdriver_protos:.proto=.pb.html )
124- $(stackdriver_docs ) : $(stackdriver_protos )
125- @$(protoc ) -I ./extensions $(protoc_gen_docs_plugin )$(stackdriver_path ) $^
126-
127- accesslog_policy_path := extensions/access_log_policy/config/v1alpha1
128- accesslog_policy_protos := $(wildcard $(accesslog_policy_path ) /* .proto)
129- accesslog_policy_docs := $(accesslog_policy_protos:.proto=.pb.html )
130- $(accesslog_policy_docs ) : $(accesslog_policy_protos )
131- @$(protoc ) -I ./extensions $(protoc_gen_docs_plugin )$(accesslog_policy_path ) $^
132-
133- extensions-docs : $(metadata_exchange_docs ) $(stackdriver_docs ) $(accesslog_policy_docs )
134-
135112test_release :
136113ifeq "$(shell uname -m) " "x86_64"
137114 export BAZEL_BUILD_ARGS="$(BAZEL_BUILD_ARGS)" && ./scripts/release-binary.sh
0 commit comments