Skip to content

Commit 4eaa1de

Browse files
committed
Add shim __main__.py
1 parent 21c6f3e commit 4eaa1de

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Tools/wasm/emscripten/__main__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
if __name__ == "__main__":
2+
import pathlib
3+
import runpy
4+
5+
checkout = pathlib.Path(__file__).parents[3]
6+
emscripten_dir = (checkout / "Platforms/emscripten").absolute()
7+
runpy.run_path(str(emscripten_dir), run_name="__main__")

0 commit comments

Comments
 (0)