Used to prepare files for checkin on Windows
This commit is contained in:
parent
821ccde910
commit
c2a838e392
1 changed files with 7 additions and 0 deletions
7
fixfile.bat
Executable file
7
fixfile.bat
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
rem Use Astyle to fix style in a file
|
||||
fixlines -p %1%
|
||||
astyle --style=ansi -c -o --convert-tabs --indent-preprocessor %1%
|
||||
del %1%.orig
|
||||
@rem convert line terminators to Unix style LFs
|
||||
fixlines -u %1%
|
||||
del %1%.bak
|
||||
Loading…
Reference in a new issue