Add ctest for style, using clang-format
authorBrenden Blanco <bblanco@plumgrid.com>
Tue, 19 Apr 2016 18:42:49 +0000 (11:42 -0700)
committerBrenden Blanco <bblanco@plumgrid.com>
Tue, 19 Apr 2016 18:57:22 +0000 (11:57 -0700)
commit581fc7d006b998f43da04569cbc19e24bfc679f2
treee3755a5760a2005162d06b272db0bbb678cec5ce
parentaf8552bec6e35e2ee6d4609f27f5f75cecbb56f1
Add ctest for style, using clang-format

When user touches a file, that file will be fed to `git clang-format`,
and if the tool reports a new diff it will consider the test failed. The
files to check will be anything in the current workspace compared to
origin/master.
scripts/git-clang-format
scripts/style-check.sh [new file with mode: 0755]
tests/CMakeLists.txt