summaryrefslogtreecommitdiff
path: root/other/astyle/format-source
blob: 4d4b111c046c37b9e668fcd04705891d7ff28b6e (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

if [ -z "$ASTYLE" ]; then
  ASTYLE=astyle
fi

SOURCES=`find . -name "*.[ch]" -and -not -name "*.in.*" -and -not -wholename "*crypto_pwhash*" -and -not -wholename "./super_donators/*"`

$ASTYLE --options=other/astyle/astylerc $SOURCES