From 2e755fac84adc814fb99810e9a0ed17e1a0e31a4 Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Fri, 10 Jun 2011 14:20:43 +0300 Subject: [PATCH] Run Astyle recursively for gui/test. GUI's tests are now in separate subdirectories. To avoid adding each subdirectory to the Astyle scripts run Astyle recursively. --- runastyle | 4 ++-- runastyle.bat | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/runastyle b/runastyle index 812c3f780..72cea8ff3 100755 --- a/runastyle +++ b/runastyle @@ -12,8 +12,8 @@ astyle $style $options cli/*.cpp astyle $style $options cli/*.h astyle $style $options gui/*.cpp astyle $style $options gui/*.h -astyle $style $options gui/test/*.cpp -astyle $style $options gui/test/*.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 diff --git a/runastyle.bat b/runastyle.bat index bf7b73202..f8a27308f 100644 --- a/runastyle.bat +++ b/runastyle.bat @@ -7,8 +7,8 @@ astyle %STYLE% %OPTIONS% cli/*.cpp astyle %STYLE% %OPTIONS% cli/*.h astyle %STYLE% %OPTIONS% gui/*.cpp astyle %STYLE% %OPTIONS% gui/*.h -astyle %STYLE% %OPTIONS% gui/test/*.cpp -astyle %STYLE% %OPTIONS% gui/test/*.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