INNER CODE UNIT · Python
add_pragma_module
Silverlan/pragma · build_scripts/build.py:724
def add_pragma_module(name,repositoryUrl=None,commitSha=None,branch=None,skipBuildTarget=False):
for module in module_info:
if module["name"] == name:
return
module = {
"name": name,
"repositoryUrl": repositoryUrl,
"commitSha": commitSha,
"branch": branch,
"skipBuildTarget": skipBuildTarget
}
module_info.append(module)
def execfile(filepath, globals=None, locals=None, args=None):
if globals is None:
globals = {}
globals.update({
"__file__": filepath,