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

View File

@ -8,9 +8,10 @@ parts +=
test test
coverage-test coverage-test
coverage-report coverage-report
jscoverage-build
jscoverage jscoverage
jscoverage-test
pylint pylint
pylint-test
[versions] [versions]
zope.schema = 3.6.0 zope.schema = 3.6.0
@ -33,11 +34,11 @@ eggs = z3c.coverage
scripts = coveragereport scripts = coveragereport
arguments = ('coverage', 'report') arguments = ('coverage', 'report')
[jscoverage] [jscoverage-build]
recipe = zc.recipe.cmmi recipe = zc.recipe.cmmi
url = http://siliconforks.com/jscoverage/download/jscoverage-0.5.tar.bz2 url = http://siliconforks.com/jscoverage/download/jscoverage-0.5.tar.bz2
[jscoverage-test] [jscoverage]
recipe = collective.recipe.template recipe = collective.recipe.template
input = inline: input = inline:
#!/bin/sh #!/bin/sh
@ -48,5 +49,17 @@ mode = 755
[pylint] [pylint]
recipe = zc.recipe.egg recipe = zc.recipe.egg
eggs = logilab.pylintinstaller eggs = logilab.pylintinstaller
extra-paths = ${instance:location}/lib/python
entry-points = pylint=pylint.lint:Run entry-points = pylint=pylint.lint:Run
arguments = sys.argv[1:] 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