diff options
| author | admin (centauri.fritz.box) <puppet@mx.buetow.org> | 2014-06-30 23:29:35 +0200 |
|---|---|---|
| committer | admin (centauri.fritz.box) <puppet@mx.buetow.org> | 2014-06-30 23:29:35 +0200 |
| commit | 002c8534bfe2c266959dd42c9c71c17182977d87 (patch) | |
| tree | 94b09a70cca7346b1361c299c843d316730dde9d /scripts/astyle.sh | |
| parent | 813ee1984130c44f737f27426cc8414d19cf3bd9 (diff) | |
| parent | 371cf3aa2a132401a4557e227577a9f3a57f4477 (diff) | |
Merge remote-tracking branch 'remotes/github/0.5-basic' into 0.5-basic0.5-basic
Diffstat (limited to 'scripts/astyle.sh')
| -rwxr-xr-x | scripts/astyle.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/astyle.sh b/scripts/astyle.sh new file mode 100755 index 0000000..757364e --- /dev/null +++ b/scripts/astyle.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +# The yChat Project (2004, 2005) +# +# This uses "astyle" to format C++ code into a specific code style! + +for f in h cpp tmpl +do + for i in `find . -name "*.$f"` + do + echo $i + astyle --style=ansi -s2 $i + rm -f $i.orig + done +done |
