2010-07-31 16:28:24 +02:00
|
|
|
REM A script to run Astyle for the sources
|
2010-04-18 21:27:02 +02:00
|
|
|
|
2011-02-09 13:13:37 +01:00
|
|
|
SET STYLE=--style=ansi --lineend=linux --min-conditional-indent=0
|
2010-08-29 09:35:21 +02:00
|
|
|
SET OPTIONS=--pad-header --unpad-paren --suffix=none
|
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
|
|
|
|
astyle %STYLE% %OPTIONS% gui/*.cpp
|
|
|
|
astyle %STYLE% %OPTIONS% gui/*.h
|
2011-02-08 22:30:46 +01:00
|
|
|
astyle %STYLE% %OPTIONS% gui/test/*.cpp
|
|
|
|
astyle %STYLE% %OPTIONS% 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
|
|
|
|
astyle %STYLE% %OPTIONS% test/*.h
|
|
|
|
|
|
|
|
astyle %STYLE% %OPTIONS% tools/*.cpp
|
2009-01-07 16:08:24 +01:00
|
|
|
|