From 08e6faf7554c54a3fb941ca835c1f1e4b7e66917 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 02026b8..da68185 100644 --- a/README.md +++ b/README.md @@ -219,3 +219,10 @@ All required tests are **OK**. The goal is to create an empty document, based on schema-defined default-values, recursively populated. + +# 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 {} +```