File tree Expand file tree Collapse file tree 1 file changed +11
-16
lines changed Expand file tree Collapse file tree 1 file changed +11
-16
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- for module in core VTK itk;
3
- do
4
- for dir in examples include src tests;
5
- do
6
- if [ -d " @Statismo_SOURCE_DIR@/${module} /${dir} " ]; then
7
- for filetype in c cpp cxx h hpp hxx tpp txx;
8
- do
9
- list=` find ~ /GITROOT/temp/statismo/modules/${module} /${dir} -name " *.${filetype} " -type f`
2
+ pushd
3
+ cd @statismo_SOURCE_DIR@/modules
4
+ astyle --recursive --style=google * .c
5
+ astyle --recursive --style=google * .cxx
6
+ astyle --recursive --style=google * .cpp
10
7
11
- for f in ${list} ;
12
- do
13
- astyle --style=google $f ;
14
- done
15
- done
16
- fi
17
- done
18
- done
8
+ astyle --recursive --style=google * .h
9
+ astyle --recursive --style=google * .hxx
10
+ astyle --recursive --style=google * .hpp
11
+ astyle --recursive --style=google * .txx
12
+ astyle --recursive --style=google * .tpp
13
+ popd
You can’t perform that action at this time.
0 commit comments