diff options
Diffstat (limited to 'other/astyle/format-source')
-rwxr-xr-x | other/astyle/format-source | 9 |
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 | |||
3 | if [ -z "$ASTYLE" ]; then | ||
4 | ASTYLE=astyle | ||
5 | fi | ||
6 | |||
7 | SOURCES=`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 | ||