The current version actually does not work with recent versions of CFLint. Simply bc
just by setting -text the output will be written to a file and not to stdout.
We thus must use -stdout flag. But then we can also use -stdin and get background linting.
Switch to stdin/-out processing
Switch to -stdin and -stdout which generally enables background linting.
Since setting jar is mandatory, fail early if not set and show nice
error message.
Since 'jar' is an argument to the java binary do not handle it via
$args. $args should only contain arguments to the cflinter.
Use selector instead of syntax syntax has been deprecated in favor of selector. Note that the latter
is also configurable by the user now.
The current version actually does not work with recent versions of CFLint. Simply bc just by setting
-text
the output will be written to a file and not to stdout.We thus must use
-stdout
flag. But then we can also use-stdin
and get background linting.Switch to stdin/-out processing
jar
is mandatory, fail early if not set and show nice error message.$args
. $args should only contain arguments to the cflinter.Use
selector
instead ofsyntax
syntax
has been deprecated in favor ofselector
. Note that the latter is also configurable by the user now.