diff --git a/script/maxscale-uncrustify.sh b/script/maxscale-uncrustify.sh index d5a48d41a..2836b4070 100755 --- a/script/maxscale-uncrustify.sh +++ b/script/maxscale-uncrustify.sh @@ -2,5 +2,5 @@ currdir=$(dirname $(realpath $0)) -$currdir/list-src -x 'sqlite-src-3110100 pcre2' $currdir/..|xargs uncrustify -c $currdir/../uncrustify.cfg --no-backup --mtime +$currdir/list-src -x 'sqlite-src-3110100 pcre2 build' $currdir/.. | xargs uncrustify -c $currdir/../uncrustify.cfg --no-backup --mtime diff --git a/uncrustify.cfg b/uncrustify.cfg index b92f76baa..ff1da8148 100644 --- a/uncrustify.cfg +++ b/uncrustify.cfg @@ -1274,7 +1274,7 @@ nl_class_colon = ignore # ignore/add/remove/force # Add or remove a newline around a class constructor colon. # Related to nl_constr_init_args, pos_constr_colon and pos_constr_comma. -nl_constr_colon = ignore # ignore/add/remove/force +nl_constr_colon = add # ignore/add/remove/force # If true turns two liner namespace to one liner,else will make then four liners #0.67 nl_namespace_two_to_one_liner = false # false/true