Commit c109ef5af65bcbe35d28ffeb1f4f71231881ec6b
1 parent
27f71812
Adding contributing guide
Showing
2 changed files
with
13 additions
and
0 deletions
CHANGELOG.md
CONTRIBUTING.md
0 → 100644
| 1 | +#A few notes on contributions | |
| 2 | + | |
| 3 | +If you want to add code, please make sure it passes the clang-format style (I'm using LLVM 4.0): | |
| 4 | + | |
| 5 | +```bash | |
| 6 | +git ls-files | grep -E '.cpp|.hpp' | xargs clang-format -i -style=file | |
| 7 | +``` | |
| 8 | + | |
| 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). | ... | ... |