Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 626 Bytes

CONTRIBUTING.md

File metadata and controls

18 lines (11 loc) · 626 Bytes

Before you submit a pull request:

Add tests if useful.

If you are fixing a bug, please add a unit test reproducing the bug. If you are adding a feature, please add a reasonable amount of test coverage.

Run all tests.

We won't look at a pull request unless all existing unit tests pass

run clang-format on all your changes.

If you are lazy, you can simply clang-format everything:

find include -iname *.h | xargs clang-format -i -style=file
find tests -iname *.h -o -iname *.cpp | xargs clang-format -i -style=file
find examples -iname *.h -o -iname *.cpp | xargs clang-format -i -style=file