git.fiddlerwoaroof.com
Browse code

formatting script

Greg Wiley authored on 19/04/2017 17:46:35
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,5 @@
1
+#!/bin/bash
2
+
3
+for f in *.h *.cc; do echo "" >> $f; { rm $f;cat -s >$f; }<$f; done
4
+astyle -q --options=$(dirname $0)/astylerc *.h *.cc
5
+