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:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user