diff options
| author | admin (centauri.fritz.box) <puppet@mx.buetow.org> | 2014-07-01 20:17:22 +0200 |
|---|---|---|
| committer | admin (centauri.fritz.box) <puppet@mx.buetow.org> | 2014-07-01 20:17:22 +0200 |
| commit | a7aa66722070de6ab2e84e5a1311b96c98f36e14 (patch) | |
| tree | 617f8bec8aebb398d6cfe61f1077b2db58dab85b /scripts/astyle.sh | |
| parent | 79f67cf524bf8c9069241475e9365362066ca3ab (diff) | |
| parent | f06ac1cce099cdb5a415663ff6473990066ea4cf (diff) | |
Merge remote-tracking branch 'remotes/github/ychat-0.5-basic' into ychat-0.5-basicychat-0.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 |
