
- #Makefile for java application on mac how to
- #Makefile for java application on mac install
- #Makefile for java application on mac code
"regex1" is not limited by the language contained in the files. The skipFiles settings in the preceding example include a search in Javaįiles, using "regex2" as a regular expression the search for The option specifies that the switch is to be added forĬompiler variants within the given language. SkipFiles: ["regex1", match is partial: use ^ and $ to match Coverity does not compile theįiles or directories that match the regex argument. Polaris CLI uses this regex to generate a new compilerĬonfiguration, which will be used with cov-build for capture. You can exclude files and directories from a build capture by using the skipFiles propertyĪnd a Perl regex argument. For more information regarding the options supported by cov-build,

This cov-build section is optional it is not automatically generated by It provides the command line output fromĬov-build, including the options used and the skipped options. Note that the CLI skips file system capture options that are passed in withĬov-build. This isĮxpressed as: "-OPTION", "OPTION-VALUE".Ĭov-build: SpecificĬov-build: The option is passed with an argument when required. In this example, -option indicates an option supported byĬov-build. You can specify Coverity build options in the polaris.yml configuration file by Build Capture: Passing Options to cov-build Make -f Makefile clean, then builds it using make -f With this configuration, Polaris cleans your project by running You must specify commands as they are entered in a command shell Specify these commands in the Polaris configuration file in the capture:īuild: section. Build CaptureĪ build capture requires the build and clean commands.įor a C or C++ application with a Makefile, make clean is a typical cleanĬommand, and make is a typical build command. If you use multiple build commands,Īutocapture will run once per command. Polaris CLI provides you the capability to add multiple build commands inside Polaris CLI always runs the clean commands when theyĪre specified in the polaris.yml file.
#Makefile for java application on mac code

Polaris captures files for analysis using the following
#Makefile for java application on mac how to
To Polaris how to locate the files that should be The capture section of the configuration file describes The analyze section of the configuration makes it possible to specify additional information about how analysis should be performed.

The capture section of the configuration file describes to Polaris how to locate the files that should be included in the analysis. In Polaris, results are tied to a specific revision of a specific branch of a specific project. The project section of the configuration file describes how your project displays in the Polaris graphical user interface (GUI).
#Makefile for java application on mac install
The install section of the configuration file lists the analysis tools that Polaris uses to analyze your project.

Inside a Polaris configuration file, variables can be used instead of literal values to refer to information from a source code management solution or environment variables. Project administrators can also select a centralized mandatory YAML configuration file and enforce a Coverity version with that file. Polaris CLI uses local YAML configuration files for scans, by default. The configuration file contains important information such as the project name, how to build the project, and determines other non-build files to be included in the analysis. Use sample YAML files.įor each project to be analyzed with Polaris, a configuration file determines how analysis happens.
