]> WPIA git - cassiopeia.git/commitdiff
add: AStyle script for source formatting
authorBenny Baumann <BenBE@geshi.org>
Sat, 1 Nov 2014 22:38:03 +0000 (23:38 +0100)
committerBenny Baumann <BenBE@geshi.org>
Sun, 2 Nov 2014 01:17:48 +0000 (02:17 +0100)
scripts/format.sh [new file with mode: 0755]

diff --git a/scripts/format.sh b/scripts/format.sh
new file mode 100755 (executable)
index 0000000..33b2286
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+astyle --style=java --add-brackets --indent-col1-comments --break-blocks --pad-oper --pad-paren-in --unpad-paren --indent-namespaces --align-pointer=type --align-reference=type --convert-tabs --lineend=linux -r "*.cpp" "*.h"