3 Commits

Author SHA1 Message Date
Niclas Antti
e52741679e Change uncrustify to add newline before constructor initializer list.
Also add exclusion of "build" directory to maxscale-uncrustify.sh script.
2018-11-02 13:15:28 +02:00
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
Niclas Antti
c447e5cf15 Uncrustify maxscale
See script directory for method. The script to run in the top level
MaxScale directory is called maxscale-uncrustify.sh, which uses
another script, list-src, from the same directory (so you need to set
your PATH). The uncrustify version was 0.66.
2018-09-09 22:26:19 +03:00