projects
/
qtrapids
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added build script of Debian
[qtrapids]
/
scripts
/
format_code.sh
diff --git
a/scripts/format_code.sh
b/scripts/format_code.sh
index
60ad045
..
4d3a8cc
100644
(file)
--- a/
scripts/format_code.sh
+++ b/
scripts/format_code.sh
@@
-1,6
+1,7
@@
#!/bin/sh
#!/bin/sh
-find ../src \( -name '*.cpp' -and -not -name 'moc_*' -or -name '*.h' -or -name '*.hpp' \) -exec astyle --style=ansi --suffix=none {} \;
+find ../src \( -name '*.cpp' -and -not -name 'moc_*' -or -name '*.h' -or -name '*.hpp' \) \
+ -exec astyle --style=ansi --suffix=none --brackets=linux --indent=tab {} \;