util/codestyle.sh: Set character limit -xC80
This commit is contained in:
parent
654802cc0d
commit
7eef5ef423
@ -15,8 +15,9 @@ echo "header_files: $header_files"
|
||||
echo "cpp_files: $cpp_files"
|
||||
|
||||
# Fix all that astyle is capable of
|
||||
astyle -z2 -W3 -k3 -p -w -Y -K -N -t -m1 $header_files
|
||||
astyle -z2 -W3 -k3 -p -w -Y -K -t -m1 $cpp_files
|
||||
# Note: Astyle's character limit doesn't count tabs as multiple spaces.
|
||||
astyle -z2 -W3 -k3 -p -w -Y -K -N -t4 -m1 -xC80 $header_files
|
||||
astyle -z2 -W3 -k3 -p -w -Y -K -t4 -m1 -xC80 $cpp_files
|
||||
|
||||
# Remove spaces before semicolons
|
||||
sed -i -e 's/ *;/;/g' $header_files $cpp_files
|
||||
|
Loading…
x
Reference in New Issue
Block a user