mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-03 16:01:18 -05:00
8d353a5b3b
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@189 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
20 lines
449 B
Batchfile
Executable File
20 lines
449 B
Batchfile
Executable File
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 ..\
|