Commit b8223c01 authored by Julien Wintz's avatar Julien Wintz
Browse files

Updated astyle options

parent ee7d0a97
......@@ -51,11 +51,21 @@ dtk_formating_clear () {
}
dtk_formating_format () {
astyle --indent=spaces=4 --style=linux \
--indent-labels --pad-oper --unpad-paren --pad-header \
--keep-one-line-statements --convert-tabs \
--indent-preprocessor \
`find . -type f -name '*.cpp' -or -name '*.tpp' -name -or -name '*.h'`
astyle --style=k/r \
--indent=spaces=4 \
--attach-namespaces \
--attach-inlines \
--attach-extern-c \
--break-blocks \
--pad-oper \
--unpad-paren \
--align-pointer=name \
--align-reference=type \
--keep-one-line-statements \
--convert-tabs \
--exclude=templates \
--suffix=none \
`find . -type f -name '*.cpp' -or -name '*.tpp' -or -name '*.h'`
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment