~ubuntu-branches/ubuntu/lucid/pyjunitxml/lucid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Robert Collins
  • Date: 2009-09-20 17:19:22 UTC
  • Revision ID: james.westby@ubuntu.com-20090920171922-p69k8cg96l9x28nb
Tags: 0.2-1
Initial release. Closes: #547492

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
DEB_PYTHON_SYSTEM=pysupport
 
4
include /usr/share/cdbs/1/rules/debhelper.mk
 
5
include /usr/share/cdbs/1/class/python-distutils.mk
 
6
include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
7
 
 
8
clean::
 
9
        -rm -rf build
 
10
        -rm tests.log
 
11
        find . -name "*.pyc" -print0 | xargs -0 rm -f
 
12
 
 
13
# In the event of
 
14
common-post-build-indep::
 
15
        python -m subunit.run junitxml.test_suite | tee tests.log | subunit-stats || subunit-filter < tests.log | subunit2pyunit