Fix jscoverage and pylint sections.

svn path=/plone.app.discussion/trunk/; revision=39248
This commit is contained in:
Timo Stollenwerk 2010-08-28 14:07:35 +00:00
parent 6b53b7bad2
commit 487d5308a5
1 changed files with 16 additions and 3 deletions

View File

@ -8,9 +8,10 @@ parts +=
test
coverage-test
coverage-report
jscoverage-build
jscoverage
jscoverage-test
pylint
pylint-test
[versions]
zope.schema = 3.6.0
@ -33,11 +34,11 @@ eggs = z3c.coverage
scripts = coveragereport
arguments = ('coverage', 'report')
[jscoverage]
[jscoverage-build]
recipe = zc.recipe.cmmi
url = http://siliconforks.com/jscoverage/download/jscoverage-0.5.tar.bz2
[jscoverage-test]
[jscoverage]
recipe = collective.recipe.template
input = inline:
#!/bin/sh
@ -48,5 +49,17 @@ mode = 755
[pylint]
recipe = zc.recipe.egg
eggs = logilab.pylintinstaller
extra-paths = ${instance:location}/lib/python
entry-points = pylint=pylint.lint:Run
arguments = sys.argv[1:]
[pylint-test]
recipe = collective.recipe.template
input = inline:
#!/bin/sh
rm pylint.out
echo "Running pylint"
find -L plone/app/discussion/ -regex ".*\.[c]?py" | xargs bin/pylint --output-format=parseable --zope=y --reports=n >> pylint.out
echo "finish"
output = ${buildout:directory}/bin/pylint-test
mode = 755