MaxScale/script/maxscale-uncrustify.sh
Markus Mäkelä 65c50ca8b7
Fix uncrustify script
Add explicit path to the root source directory and allow invocation from
other directories. Also included qc_sqlite sources but excluded the SQLite
sources. Explicitly define the configuration in the MaxScale sources as
the one that will be used.

Changed from N invocations of uncrustify to one invocation with all files
as the program arguments. This should give a slight speedup when
formatting all sources.
2018-09-12 08:58:15 +03:00

7 lines
176 B
Bash
Executable File

#!/bin/bash
currdir=$(dirname $(realpath $0))
$currdir/list-src -x 'sqlite-src-3110100 pcre2' $currdir/..|xargs uncrustify -c $currdir/../uncrustify.cfg --no-backup --mtime