Changeset 46

Show
Ignore:
Timestamp:
06/08/06 16:35:18 (7 years ago)
Author:
mk
Message:

Generate documentation via buildbot.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/mk/support/master.cfg

    r45 r46  
    8989 
    9090class StepTest(step.ShellCommand): 
    91     name = "nose tests" 
    92     description = ["running nose tests"] 
     91    name = "unit tests" 
     92    description = ["running unit tests"] 
    9393    descriptionDone = [name] 
    9494 
    9595unit_tests = s(StepTest, command="/usr/local/bin/python setup.py test") 
    9696 
    97 make_factory = lambda source: factory.BuildFactory([ 
    98                     source, unit_tests,]) 
     97class EpyDocBuild(step.ShellCommand): 
     98    name = "documentation" 
     99    description = ["building documentation"] 
     100    descriptionDone = [name] 
    99101 
    100 f_mk = make_factory(source_mk) 
    101 f_trunk = make_factory(source_trunk) 
     102epydoc_build = lambda doc_dest: s(EpyDocBuild, 
     103                 command="/bin/sh support/generate_docs.sh %s" % doc_dest) 
     104 
     105make_factory = lambda source, doc_dest: factory.BuildFactory([ 
     106                    source, unit_tests, epydoc_build(doc_dest)]) 
     107 
     108f_mk = make_factory(source_mk, "/var/www/agilistas/cheesecake/mk") 
     109f_trunk = make_factory(source_trunk, "/var/www/agilistas/cheesecake/trunk") 
    102110 
    103111c['builders'] = [