Skip to content

Commit

Permalink
astyle: prevent creating backup files
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Marjamäki committed Aug 29, 2010
1 parent beb2cfd commit 6e676fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runastyle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

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

astyle $style $options cli/*.cpp
astyle $style $options cli/*.h
Expand Down
2 changes: 1 addition & 1 deletion runastyle.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
REM A script to run Astyle for the sources

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

astyle %STYLE% %OPTIONS% cli/*.cpp
astyle %STYLE% %OPTIONS% cli/*.h
Expand Down

0 comments on commit 6e676fd

Please sign in to comment.