From 64461f5b79ba5e6f806f4d60cca011a2f6012a9b Mon Sep 17 00:00:00 2001 From: mxmlnkn Date: Fri, 3 May 2019 10:14:26 +0200 Subject: [PATCH] add note about styling with clang-format --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index d7bafa5..99bbbc7 100644 --- a/README.md +++ b/README.md @@ -211,3 +211,10 @@ If you have cloned this repository providing a path the repository-root via the cmake-variable `JSON_SCHEMA_TEST_SUITE_PATH` will enable the test-target(s). All required tests are **OK**. + +# Contributing + +Before opening a pull request, please apply the coding style given in the `.clang-format` by running clang-format from the git top-level for all touched files: +```shell +git diff master --name-only | grep '\.[ch]pp$' | xargs -P 3 -I{} clang-format -i {} +```