aboutsummaryrefslogtreecommitdiff
path: root/pd/portaudio/fixdir.bat
blob: 92d6c7470d44e806e9add632e8a4969d26669412 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
rem Use Astyle to fix style in 'C' files
cd %1%

fixlines -p *.c
fixlines -p *.cpp
fixlines -p *.cc

astyle --style=ansi -c -o --convert-tabs --indent-preprocessor *.c
astyle --style=ansi -c -o --convert-tabs --indent-preprocessor *.cpp
astyle --style=ansi -c -o --convert-tabs --indent-preprocessor *.cc
del *.orig
@rem convert line terminators to Unix style LFs
fixlines -u *.c
fixlines -u *.cpp
fixlines -u *.cc
fixlines -u *.h
del *.bak

cd ..\