Astyle: add option to convert to linux EOLs.

This commit is contained in:
Kimmo Varis 2011-02-09 14:13:37 +02:00
parent 7502cea4d3
commit aa6341dbed
3 changed files with 37 additions and 37 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
style="--style=ansi --min-conditional-indent=0"
style="--style=ansi --lineend=linux --min-conditional-indent=0"
options="--pad-header --unpad-paren --suffix=none"
astyle $style $options cli/*.cpp

View File

@ -1,6 +1,6 @@
REM A script to run Astyle for the sources
SET STYLE=--style=ansi --min-conditional-indent=0
SET STYLE=--style=ansi --lineend=linux --min-conditional-indent=0
SET OPTIONS=--pad-header --unpad-paren --suffix=none
astyle %STYLE% %OPTIONS% cli/*.cpp