We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1749811 commit ce6b923Copy full SHA for ce6b923
Makefile.am
@@ -52,3 +52,9 @@ include $(top_srcdir)/build/dist-changelog.am
52
# clang-format versions via a bash alias.)
53
format:
54
clang-format -i `find . -name "*.h" -or -name "*.cc"`
55
+
56
+# Run clang-format over all files, and fail if they are not formatted correctly.
57
+# (This requires clang-format 10, which has the --dry-run and --Werror
58
+# command-line arguments.)
59
+check-format:
60
+ clang-format --dry-run --Werror `find . -name "*.h" -or -name "*.cc"`
0 commit comments