mirror of https://github.com/apache/lucene.git
fail if api docs are missing from solr (this bit us in 3.4.0)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171167 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
44386401f6
commit
b25b42ae2c
|
@ -338,6 +338,12 @@ def verifyUnpacked(project, artifact, unpackPath, version):
|
|||
raise RuntimeError('%s: file "%s" is missing from artifact %s' % (project, fileName, artifact))
|
||||
l.remove(fileName)
|
||||
|
||||
if project == 'solr':
|
||||
# Make sure the api jdocs are there (this was missing in 3.4.0):
|
||||
for path in ('docs', 'docs/api', 'docs/api/solrj', 'docs/api/test-framework'):
|
||||
if not os.path.exists('%s/index.html' % path):
|
||||
raise RuntimeError('cannot find api javadocs for "%s"' % path)
|
||||
|
||||
if project == 'lucene':
|
||||
extras = ('lib', 'docs', 'contrib')
|
||||
if isSrc:
|
||||
|
|
Loading…
Reference in New Issue