diff --git a/.astylerc b/.astylerc new file mode 100644 index 00000000..28360da1 --- /dev/null +++ b/.astylerc @@ -0,0 +1,24 @@ +# astyle settings file + +# Requires Artistic Style 3.1 +# http://astyle.sourceforge.net/ + +# Usage: +# astyle --suffix=none --options=.astylerc filename.cpp + +--style=java +--indent=tab +--indent-switches +--attach-closing-while +--pad-oper +--pad-comma +--pad-header +--unpad-paren +--align-pointer=name +--align-reference=name +--break-closing-braces +--break-one-line-headers +--attach-return-type +--attach-return-type-decl +--keep-one-line-statements +--close-templates diff --git a/astyle.sh b/astyle.sh deleted file mode 100755 index 926de5ce..00000000 --- a/astyle.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh - -# Requires Artistic Style 3.1 -# http://astyle.sourceforge.net/ - -astyle --suffix=none \ - --style=java \ - --indent=tab \ - --indent-switches \ - --attach-closing-while \ - --pad-oper \ - --pad-comma \ - --pad-header \ - --unpad-paren \ - --align-pointer=name \ - --align-reference=name \ - --break-closing-braces \ - --break-one-line-headers \ - --attach-return-type \ - --attach-return-type-decl \ - --close-templates \ - $@