3rdparty/iaxclient/lib/portaudio/fixdir.bat
raw| 1 | rem Use Astyle to fix style in 'C' files |
| 2 | cd %1% |
| 3 | |
| 4 | fixlines -p *.c |
| 5 | fixlines -p *.cpp |
| 6 | fixlines -p *.cc |
| 7 | |
| 8 | astyle --style=ansi -c -o --convert-tabs --indent-preprocessor *.c |
| 9 | astyle --style=ansi -c -o --convert-tabs --indent-preprocessor *.cpp |
| 10 | astyle --style=ansi -c -o --convert-tabs --indent-preprocessor *.cc |
| 11 | del *.orig |
| 12 | @rem convert line terminators to Unix style LFs |
| 13 | fixlines -u *.c |
| 14 | fixlines -u *.cpp |
| 15 | fixlines -u *.cc |
| 16 | fixlines -u *.h |
| 17 | del *.bak |
| 18 | |
| 19 | cd ..\ |