cppcheck/runastyle.bat

19 lines
638 B
Batchfile
Raw Normal View History

REM A script to run Astyle for the sources
2010-04-18 21:27:02 +02:00
2011-10-13 20:53:06 +02:00
SET STYLE=--style=stroustrup --indent=spaces=4 --indent-namespaces --lineend=linux --min-conditional-indent=0
2012-10-13 08:18:11 +02:00
SET OPTIONS=--pad-header --unpad-paren --suffix=none --convert-tabs
2010-04-18 21:27:02 +02:00
astyle %STYLE% %OPTIONS% cli/*.cpp
astyle %STYLE% %OPTIONS% cli/*.h
astyle %STYLE% %OPTIONS% gui/*.cpp
astyle %STYLE% %OPTIONS% gui/*.h
astyle %STYLE% %OPTIONS% -r gui/test/*.cpp
astyle %STYLE% %OPTIONS% -r gui/test/*.h
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