diff 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 diff
--- a/recipe.xml
+++ b/recipe.xml
@@ -5,21 +5,26 @@
         <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.txt"/>
+            <pylint file="build/pylint-results.txt"/>
         </reports>
     </step>
 
-    <step id="test" title="Unit tests"
-          description="Run unit tests and trace code coverage">
-        <make target="test"/>
-        <reports>
-            <unittest file="build/test-results.xml"/>
-            <trace.py dir="build/coverage" include="trac*" exclude="*.tests.*"/>
-        </reports>
+    <step id="dist" title="Package up distributions">
+        <distutils command="sdist"/>
     </step>
 
 </recipe>
Copyright (C) 2012-2017 Edgewall Software