2015-12-17 15:40:54 +01:00
|
|
|
@REM Script to run AStyle on the sources
|
2010-04-18 21:27:02 +02:00
|
|
|
|
2015-12-17 15:40:54 +01:00
|
|
|
@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
|
2010-04-18 21:27:02 +02:00
|
|
|
|
2010-07-31 16:28:24 +02:00
|
|
|
astyle %STYLE% %OPTIONS% cli/*.cpp
|
|
|
|
astyle %STYLE% %OPTIONS% cli/*.h
|
2015-11-29 11:47:08 +01:00
|
|
|
astyle %STYLE% %OPTIONS% democlient/*.cpp
|
2010-07-31 16:28:24 +02:00
|
|
|
astyle %STYLE% %OPTIONS% gui/*.cpp
|
|
|
|
astyle %STYLE% %OPTIONS% gui/*.h
|
2011-06-10 13:20:43 +02:00
|
|
|
astyle %STYLE% %OPTIONS% -r gui/test/*.cpp
|
|
|
|
astyle %STYLE% %OPTIONS% -r gui/test/*.h
|
2010-07-31 16:28:24 +02:00
|
|
|
astyle %STYLE% %OPTIONS% lib/*.cpp
|
|
|
|
astyle %STYLE% %OPTIONS% lib/*.h
|
|
|
|
astyle %STYLE% %OPTIONS% test/*.cpp
|
2015-11-29 11:47:08 +01:00
|
|
|
astyle %STYLE% %OPTIONS% test/cfg/*.cpp
|
2010-07-31 16:28:24 +02:00
|
|
|
astyle %STYLE% %OPTIONS% test/*.h
|
|
|
|
astyle %STYLE% %OPTIONS% tools/*.cpp
|
2015-11-29 11:47:08 +01:00
|
|
|
astyle %STYLE% %OPTIONS% -r samples/*.c
|
|
|
|
astyle %STYLE% %OPTIONS% -r samples/*.cpp
|