summaryrefslogtreecommitdiff
path: root/other/astyle/format-source
diff options
context:
space:
mode:
Diffstat (limited to 'other/astyle/format-source')
-rwxr-xr-xother/astyle/format-source9
1 files changed, 9 insertions, 0 deletions
diff --git a/other/astyle/format-source b/other/astyle/format-source
new file mode 100755
index 00000000..4d4b111c
--- /dev/null
+++ b/other/astyle/format-source
@@ -0,0 +1,9 @@
1#!/bin/sh
2
3if [ -z "$ASTYLE" ]; then
4 ASTYLE=astyle
5fi
6
7SOURCES=`find . -name "*.[ch]" -and -not -name "*.in.*" -and -not -wholename "*crypto_pwhash*" -and -not -wholename "./super_donators/*"`
8
9$ASTYLE --options=other/astyle/astylerc $SOURCES