parent
ca033a85c3
commit
69439c46b2
@ -0,0 +1,7 @@
|
|||||||
|
style=google
|
||||||
|
unpad-paren
|
||||||
|
pad-header
|
||||||
|
pad-oper
|
||||||
|
indent-classes
|
||||||
|
indent=spaces=2
|
||||||
|
max-continuation-indent=80
|
@ -1,7 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
if ! git diff --exit-code; then
|
|
||||||
>&2 echo "'make astyle' found code style differences. Please make astyle and commit your changes"
|
|
||||||
exit 1;
|
|
||||||
fi
|
|
||||||
exit 0;
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
ASTYLE_IGNORE_PATTERN='testing/googletest/'
|
|
||||||
find ./* -type f \( -name '*.h' -o -name '*.cpp' -o -name '*.ino' \) | grep -v "$ASTYLE_IGNORE_PATTERN" | xargs -n 1 astyle -q --style=google --unpad-paren --pad-header --pad-oper --indent-classes --indent=spaces=2 --max-continuation-indent=80
|
|
Loading…
Reference in new issue