Commit aa262b322f71a640ee3852b05f6c9889342cb3b8
1 parent
93019253
Minor update to contributing
Showing
1 changed file
with
1 additions
and
1 deletions
CONTRIBUTING.md
| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | If you want to add code, please make sure it passes the clang-format style (I'm using LLVM 4.0): |
| 4 | 4 | |
| 5 | 5 | ```bash |
| 6 | -git ls-files | grep -E '.cpp|.hpp' | xargs clang-format -i -style=file | |
| 6 | +git ls-files -- '.cpp' '.hpp' | xargs clang-format -i -style=file | |
| 7 | 7 | ``` |
| 8 | 8 | |
| 9 | 9 | It is also a good idea to check this with `clang-tidy`; automatic fixes can be made using `-DCLANG_TIDY_FIX-ON` (resets to `OFF` when rerunning CMake). | ... | ... |