Advertisement
Guest User

Untitled

a guest
Sep 15th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. TARGETS = ['free', 'nonfree']
  2. macosxFactory = BuildFactory()
  3. macosxFactory.addStep(SVN(mode='update',
  4. baseURL='<svn>',
  5. defaultBranch='trunk',
  6. username='<user>',
  7. password='<pass>'))
  8.  
  9. import os
  10. wd = os.path.join("targets", WithProperties("%(target)s"))
  11. macosxFactory.addStep(Compile(command = "make distclean",
  12. workdir = wd))
  13. macosxFactory.addStep(Compile(command = "qmake",
  14. workdir = wd))
  15. macosxFactory.addStep(Compile(command = "make release",
  16. workdir = wd))
  17.  
  18.  
  19. c['builders'] = []
  20. for target in TARGETS:
  21. c['builders'].append(
  22. BuilderConfig(name="macosx-"+target,
  23. slavenames=["macosx-slave"],
  24. factory=macosxFactory,
  25. category='build',
  26. properties={'target':target}))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement