view recipe.xml @ 3:9ac0ee86ec7c

Some cleanup to the recipe commands and reporters.
author cmlenz
date Sun, 22 May 2005 23:12:16 +0000
parents 0b2a3581c48d
children 196009657e5e
line wrap: on
line source
<?xml version="1.0"?>
<recipe description="My project">

    <step id="build" title="Let Distutils build the python code">
        <distutils command="build"/>
    </step>

    <step id="test" title="Unit tests"
          description="Run unit tests and trace code coverage">
        <distutils command="unittest"/>
        <reports>
            <unittest file="build/test-results.xml"/>
            <trace summary="build/test-coverage.txt" coverdir="build/coverage"
                   include="trac*" exclude="*.tests.*"/>
        </reports>
    </step>

    <step id="lint" title="Run Pylint"
          description="Run Pylint to check for bad style and potential errors">
        <make target="pylint"/>
        <reports>
            <pylint file="build/pylint-results.txt"/>
        </reports>
    </step>

    <step id="dist" title="Package up distributions">
        <distutils command="sdist"/>
    </step>

</recipe>
Copyright (C) 2012-2017 Edgewall Software