Edgewall Software

Changes between Version 9 and Version 10 of Build Recipes


Ignore:
Timestamp:
Oct 4, 2005, 5:27:03 PM (19 years ago)
Author:
anonymous
Comment:

fix not welformed xml example

Legend:

Unmodified
Added
Removed
Modified
  • Build Recipes

    v9 v10  
    2424  <step id="test" description="Run unit tests">
    2525    <python:distutils command="unittest"/>
    26     <python:unittest file="build/test-results.xml"/>
    27     <python:trace summary="build/test-coverage.txt"
    28         coverdir="build/coverage" include="trac*" exclude="*.tests.*"/>
     26    <reports>
     27      <python:unittest file="build/test-results.xml"/>
     28      <python:trace summary="build/test-coverage.txt"
     29          coverdir="build/coverage" include="trac*" exclude="*.tests.*"/>
    2930    </reports>
    3031  </step>
     
    3536== Recipe Command Binding ==
    3637
    37 Recipe commands and report generators are mapped to Python functions using [http://peak.telecommunity.com/DevCenter/PkgResources#entry-points entry points]. Bitten itself comes with a number of entry points that provide recipe commands, but third-party packages can provide additional commands by declaring their own `bitten.recipe_commands` entry points.
     38Recipe commands and report generators are mapped to Python functions using [http://peak.telecommunity.com/DevCenter/PkgResources#entry-points entry points]. Bitten itself comes with a number of entry points that provide recipe commands, but third-party packages can provide additional commands by declaring their own `bitten.recipe_commands` entry points.
    3839
    3940The values of attributes on recipe command elements are passed to the function as keyword arguments. Special care must be taken with names that are either not valid Python identifiers, or that conflict with Python keywords or built-in functions. Dashes in names are replaced with underscores, and names that conflict with keywords or built-in functions get an underscore appended.