diff options
| author | Paul Buetow <paul@buetow.org> | 2010-11-21 16:21:22 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2010-11-21 16:21:22 +0000 |
| commit | 371cf3aa2a132401a4557e227577a9f3a57f4477 (patch) | |
| tree | 1ce345520f684fd56ed1445d237e14174f6e6dd7 /scripts/astyle.sh | |
| parent | 58885c244c2b9625d0917797dedd3850bf07ae53 (diff) | |
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 |
