def run(build, pkgs): log = "Build started at: %s\n" %datetime.now() SafeWriteFile(build_log, log) SafeWriteFile(build_err, '') create_mmps(build, pkgs) create_engine_mmps(build) log = "Build engines started at: %s\n" %datetime.now() SafeWriteFile(build_log, log, 'a') build_mmp() log = "Build engines ended at: %s\n" %datetime.now() SafeWriteFile(build_log, log, 'a') build_apps(pkgs) create_installers(pkgs)
def run(build, pkgs, only_begotten_engine=None): log = "Build started at: %s\n" % datetime.now() SafeWriteFile(build_log, log) SafeWriteFile(build_err, '') create_mmps(build, pkgs) create_engine_mmps(build) parse_codecs() parse_base() log = "Build engines started at: %s\n" % datetime.now() SafeWriteFile(build_log, log, 'a') if only_begotten_engine: minimal_whitelist(build_log) build_mmp(only_begotten_engine) log = "Build engines ended at: %s\n" % datetime.now() SafeWriteFile(build_log, log, 'a') build_apps(pkgs) create_installers(pkgs)
def run(build, pkgs, only_begotten_engine=None): log = "Build started at: %s\n" % time.ctime() SafeWriteFile(build_log, log) SafeWriteFile(build_err, '') Generate_ScummVm_hrh(build) create_mmps(build, pkgs) create_engine_mmps(build) parse_codecs(pkgs) parse_base() parse_lua() parse_gamedata(build, pkgs) SafeWriteFile(build_log, log, 'a') if only_begotten_engine: minimal_whitelist(build_log) build_mmp(only_begotten_engine) log = "Build engines ended at: %s\n" % time.ctime() SafeWriteFile(build_log, log, 'a') build_apps(pkgs) create_installers(pkgs)