Unify style of the main source code
[libftdi] / doc / astyle_reformat.sh
diff --git a/doc/astyle_reformat.sh b/doc/astyle_reformat.sh
new file mode 100755 (executable)
index 0000000..1bb445a
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Astyle settings used to format our source code
+/usr/bin/astyle --indent=spaces=4 --indent-switches --brackets=break \
+                --convert-tabs --keep-one-line-statements --keep-one-line-blocks \
+                $*