mirror of
https://github.com/peridotbuild/peridot.git
synced 2024-11-10 23:31:27 +00:00
11 lines
393 B
Plaintext
11 lines
393 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
bazel build //vendor/github.com/googleapis/api-linter/cmd/api-linter
|
||
|
bin_path="bazel-bin/vendor/github.com/googleapis/api-linter/cmd/api-linter/api-linter_/api-linter"
|
||
|
|
||
|
$bin_path \
|
||
|
$(find . -name "*.proto" ! -path "./vendor/*" ! -path "./third_party/*" ! -path "./node_modules/*" ! -path "./bazel-*") \
|
||
|
-I . \
|
||
|
-I third_party/googleapis \
|
||
|
--config .api-linter.yaml
|