MCPcopy
hub / github.com/pyodide/pyodide / main

Function main

tools/update_emscripten.py:104–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102
103
104def main():
105 args = parse_args()
106 oldtag = get_makefile_envs()["PYODIDE_EMSCRIPTEN_VERSION"]
107 newtag = args.newtag
108 if not newtag:
109 major, minor, patch = (int(x) for x in oldtag.split("."))
110 patch += 1
111 newtag = f"{major}.{minor}.{patch}"
112 print("Using new version", newtag)
113 setup_emscripten(oldtag)
114 rebase(oldtag, newtag)
115 update_patches(newtag)
116 update_makefile_envs(oldtag, newtag)
117 update_struct_info()
118 commit(newtag)
119
120
121if __name__ == "__main__":

Callers 1

Calls 8

get_makefile_envsFunction · 0.90
setup_emscriptenFunction · 0.85
rebaseFunction · 0.85
update_patchesFunction · 0.85
update_makefile_envsFunction · 0.85
update_struct_infoFunction · 0.85
parse_argsFunction · 0.70
commitFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…