Astyle: add option to convert to linux EOLs.
This commit is contained in:
parent
7502cea4d3
commit
aa6341dbed
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/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"
|
options="--pad-header --unpad-paren --suffix=none"
|
||||||
|
|
||||||
astyle $style $options cli/*.cpp
|
astyle $style $options cli/*.cpp
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
REM A script to run Astyle for the sources
|
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
|
SET OPTIONS=--pad-header --unpad-paren --suffix=none
|
||||||
|
|
||||||
astyle %STYLE% %OPTIONS% cli/*.cpp
|
astyle %STYLE% %OPTIONS% cli/*.cpp
|
||||||
|
|
Loading…
Reference in New Issue