def main(): # start build printf.reset() time.push(os.path.abspath(__file__)) # build the project make.build_args = arg.build_args() ini = os.getcwd() + "/" + glb.build_ini build_ini.parse(ini) make.do_makes() # end build time.pop() printf.silence("build done.") sys.exit(0)
def main(): # start patch time.push(os.path.abspath(__file__)) # patch the project patch_repos.patch_args = arg.patch_args() ini = os.getcwd() + "/" + patch_repos.patch_args['-f'] build_ini.parse(ini) patch_repos.do_patch() # end patch time.pop() printf.silence("patch done.") sys.exit(0)
def main(): # start build printf.reset() time.push(os.path.abspath(__file__)) # build the project make.build_args = arg.build_args() if make.build_args['-f'] == '': ini = os.getcwd() + "/" + glb.build_ini else: ini = make.build_args['-f'] build_ini.parse(ini) make.do_makes() # end build time.pop() printf.silence("[" + str(datetime.now()) + "]: build done.") sys.exit(0)