Skip to content

Commit 6e676fd

Browse files
author
Daniel Marjamäki
committed
astyle: prevent creating backup files
1 parent beb2cfd commit 6e676fd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

runastyle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
style="--style=ansi --min-conditional-indent=0"
4-
options="--pad-header --unpad-paren"
4+
options="--pad-header --unpad-paren" --suffix=none
55

66
astyle $style $options cli/*.cpp
77
astyle $style $options cli/*.h

runastyle.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
REM A script to run Astyle for the sources
22

33
SET STYLE=--style=ansi --min-conditional-indent=0
4-
SET OPTIONS=--pad-header --unpad-paren
4+
SET OPTIONS=--pad-header --unpad-paren --suffix=none
55

66
astyle %STYLE% %OPTIONS% cli/*.cpp
77
astyle %STYLE% %OPTIONS% cli/*.h

0 commit comments

Comments
 (0)