Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TARGETS = ['free', 'nonfree']
- macosxFactory = BuildFactory()
- macosxFactory.addStep(SVN(mode='update',
- baseURL='<svn>',
- defaultBranch='trunk',
- username='<user>',
- password='<pass>'))
- import os
- wd = os.path.join("targets", WithProperties("%(target)s"))
- macosxFactory.addStep(Compile(command = "make distclean",
- workdir = wd))
- macosxFactory.addStep(Compile(command = "qmake",
- workdir = wd))
- macosxFactory.addStep(Compile(command = "make release",
- workdir = wd))
- c['builders'] = []
- for target in TARGETS:
- c['builders'].append(
- BuilderConfig(name="macosx-"+target,
- slavenames=["macosx-slave"],
- factory=macosxFactory,
- category='build',
- properties={'target':target}))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement