Mercurial > hg > sv-dependency-builds
annotate src/portaudio/fixdir.bat @ 133:1ac99bfc383d
Add Cap'n Proto source
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 25 Oct 2016 11:17:01 +0100 |
parents | 8a15ff55d9af |
children |
rev | line source |
---|---|
cannam@89 | 1 rem Use Astyle to fix style in 'C' files |
cannam@89 | 2 cd %1% |
cannam@89 | 3 |
cannam@89 | 4 fixlines -p *.c |
cannam@89 | 5 fixlines -p *.cpp |
cannam@89 | 6 fixlines -p *.cc |
cannam@89 | 7 |
cannam@89 | 8 astyle --style=ansi -c -o --convert-tabs --indent-preprocessor *.c |
cannam@89 | 9 astyle --style=ansi -c -o --convert-tabs --indent-preprocessor *.cpp |
cannam@89 | 10 astyle --style=ansi -c -o --convert-tabs --indent-preprocessor *.cc |
cannam@89 | 11 del *.orig |
cannam@89 | 12 @rem convert line terminators to Unix style LFs |
cannam@89 | 13 fixlines -u *.c |
cannam@89 | 14 fixlines -u *.cpp |
cannam@89 | 15 fixlines -u *.cc |
cannam@89 | 16 fixlines -u *.h |
cannam@89 | 17 del *.bak |
cannam@89 | 18 |
cannam@89 | 19 cd ..\ |