Commit cb37959a authored by Antoine Kaufmann's avatar Antoine Kaufmann Committed by Antoine Kaufmann
Browse files

Makefile: add --Werror for clang-format (#55)

Otherwise make lint-clang-format still succeeds even if there are issues. This
also causes the github action to pass and not flag issues.
parent b4ed1731
...@@ -69,7 +69,7 @@ clang-format: ...@@ -69,7 +69,7 @@ clang-format:
$(CLANG_FORMAT) -i --style=file `cat .lint-files` $(CLANG_FORMAT) -i --style=file `cat .lint-files`
lint-clang-format: lint-clang-format:
$(CLANG_FORMAT) --dry-run --style=file `cat .lint-files` $(CLANG_FORMAT) --Werror --dry-run --style=file `cat .lint-files`
lint-yapf: lint-yapf:
yapf --recursive --diff \ yapf --recursive --diff \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment