Updated AStyle to version 2.05.1

Tweaked runastyle.bat a little bit.
This commit is contained in:
PKEuS 2015-12-17 15:40:54 +01:00
parent bc6ae499dc
commit 8f22e4924c
20 changed files with 84 additions and 84 deletions

View File

@ -6,7 +6,7 @@
# If project management wishes to take a newer astyle version into use
# just change this string to match the start of astyle version string.
ASTYLE_VERSION="Artistic Style Version 2.03"
ASTYLE_VERSION="Artistic Style Version 2.05.1"
ASTYLE="astyle"
DETECTED_VERSION=`$ASTYLE --version 2>&1`
@ -17,7 +17,7 @@ if [[ "$DETECTED_VERSION" != ${ASTYLE_VERSION}* ]]; then
fi
style="--style=stroustrup --indent=spaces=4 --indent-namespaces --lineend=linux --min-conditional-indent=0"
options="--options=none --pad-header --unpad-paren --suffix=none --convert-tabs"
options="--options=none --pad-header --unpad-paren --suffix=none --convert-tabs --attach-inlines"
$ASTYLE $style $options cli/*.cpp
$ASTYLE $style $options cli/*.h

View File

@ -1,7 +1,7 @@
REM A script to run Astyle for the sources
@REM Script to run AStyle on the sources
SET STYLE=--style=stroustrup --indent=spaces=4 --indent-namespaces --lineend=linux --min-conditional-indent=0
SET OPTIONS=--pad-header --unpad-paren --suffix=none --convert-tabs
@SET STYLE=--style=stroustrup --indent=spaces=4 --indent-namespaces --lineend=linux --min-conditional-indent=0
@SET OPTIONS=--pad-header --unpad-paren --suffix=none --convert-tabs --attach-inlines
astyle %STYLE% %OPTIONS% cli/*.cpp
astyle %STYLE% %OPTIONS% cli/*.h