diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-11-10 14:07:33 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-11-10 14:07:33 +0300 |
commit | 1ce3ecf133897cb7da00fb1eeeacd8fb384290d4 (patch) | |
tree | 6b35c265d2b62f52fa3aa06d92d779c3ba9c8fd8 | |
parent | 2a22742fa4972ec8895e230d834530e16c84a4a5 (diff) |
Makefile: Don't lint test-related Protobuf definitionspks-makefile-fix-no-proto-changes-race
Now that we've moved our test-related Protobuf definitions into `proto/`
our Protobuf linter automatically picks them up to be linted. This does
not make a whole lot of sense though given that the definitions are not
typically used outside of Gitaly, so we don't care whether they're well
commented or any somesuch thing.
Exclude these Protobuf files from our linter.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -493,7 +493,7 @@ check-proto: no-proto-changes lint-proto .PHONY: lint-proto lint-proto: ${PROTOC} ${PROTOLINT} ${PROTOC_GEN_GITALY_LINT} ${Q}${PROTOC} -I ${SOURCE_DIR}/proto -I ${PROTOC_INSTALL_DIR}/include --plugin=${PROTOC_GEN_GITALY_LINT} --gitaly-lint_out=${SOURCE_DIR} ${SOURCE_DIR}/proto/*.proto - ${Q}${PROTOLINT} lint -config_dir_path=${SOURCE_DIR}/proto ${SOURCE_DIR}/proto + ${Q}${PROTOLINT} lint -config_dir_path=${SOURCE_DIR}/proto ${SOURCE_DIR}/proto/*.proto .PHONY: build-proto-gem ## Build the Ruby Gem that contains Gitaly's Protobuf definitons. |