Astyle options agreed during TC meeting 2018/10/18.

-- Note that max line length is 200 (maximum allowed by tool)
 -- Pre-commit hook tested and uses the same option file as CI

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
Raphael Defosseux
2018-10-18 16:48:41 +02:00
parent e6d35a81e4
commit 72167b50da
2 changed files with 9 additions and 3 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
# cp pre-commit .git/hooks
# chmod +x .git/hooks/pre-commit
OPTIONS="--convert-tabs --indent=spaces=2 --indent-switches --indent-col1-comments --break-blocks --delete-empty-lines --align-pointer=name --keep-one-line-blocks --keep-one-line-statements --lineend=linux"
OPTIONS="--options=ci-scripts/astyle-options.txt"
RETURN=0
ASTYLE=$(which astyle)
@@ -28,4 +28,4 @@ if [ $RETURN -eq 1 ]; then
echo $OPTIONS >&2
fi
exit $RETURN
exit $RETURN