-
Julien Muchembled authored
Makefile was so horrible and unreliable. I tried https://waf.io/ which is nice but not suitable for this (see the example 'wscript' at the end). Functional improvements: - better detection of what needs to be rebuilt or not - reproducible tarballs, except for the re6stnet egg (and the main tarball if the egg is rebuilt) - fewer temporary files And support for OSC is back. _______________________________________________________________________________ import os, shutil, subprocess, urllib from waflib import Node, Utils PREFIX = "opt/re6st" BOOTSTRAP_URL = "http://downloads.buildout.org/1/bootstrap.py" repo_dict = dict( re6stnet="http://git.erp5.org/repos/re6stnet.git", slapos="http://git.erp5.org/repos/slapos.git", ) def configure(ctx): for name, url in repo_dict.iteritems(): if ctx.path.find_node(name) is None: ctx.exec_command(("git", "clone", url), stdout=None, stderr=None) def cfg(task): ...
d181e4f5