Make Post-Processor
The make post-processor is used to detect errors in the output of the make command. It has been designed to work with the output of GNU make
, although it may work with other variants of make. Make post-processors search for the error messages produced by make and capture them with three lines of leading and trailing context. By default, errors detected in this way will not cause the build to fail: the exit code of make is the preferred way to determine this.
The make post-processor is a subclass of the regular expression post-processor. All attributes and child elements available for regular expression post-processors are also available for make post-processors.
Make post-processors are applied by default when using the make command.
Attributes
| Attribute |
Description |
Required? |
Default |
| name |
The name of this post-processor. |
Yes |
|
See also regex.pp.
Child Elements
See regex.pp.
Examples
Apply a make post-processor to an executable command (e.g. a script that calls make):
<make.pp name="make.pp"/>
<recipe name="default">
<executable name="build" exe="build-it.sh">
<process processor="${make.pp}"/>
</executable>
</recipe>