From: Benny Baumann Date: Sat, 1 Nov 2014 22:38:03 +0000 (+0100) Subject: add: AStyle script for source formatting X-Git-Url: http://www.controwiki.de/?a=commitdiff_plain;h=baea6bb0da45db459b54863690454f6b52944144;p=cassiopeia.git add: AStyle script for source formatting --- diff --git a/scripts/format.sh b/scripts/format.sh new file mode 100755 index 0000000..33b2286 --- /dev/null +++ b/scripts/format.sh @@ -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"