-
Notifications
You must be signed in to change notification settings - Fork 25
Analyzer
This pre-installed plugin is designed to run static analysis on a project. It currently only supports a line by line string matching of various targets.
It is possible to define a special config in the project root (.roku_builder_analyze.json) to define any third party libraries that will skipped by default. You can see an example config in the roku_builder files.
If there are warnings that you wish to ignore then you can add a comment on that line that contains 'ignore-warning' and the line will not be checked.
Requires Device and Source
This command will stage your channel to a temporary file and run some basic static analysis on it. It will run all of the checks that the Roku static analysis tool runs as well as some additional performance improvement checks.
$ roku --analyze --stage production
This option will cause the analyze command to be run on the libraries defined in the config file as well as the rest of the project.
$roku --analyze --include-libraries --stage production