You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ build:
49
49
build_wasm:
50
50
@echo "Building WASM to bin/"
51
51
@mkdir -p bin
52
-
uv run py2wasm src/openapi_client/cli.py -o bin/cdd-python-all.wasm
52
+
uv run py2wasm src/openapi_client/cli.py -o bin/cdd-python-all.wasm|| (echo "WASI build failed. Falling back to Pyodide zip bundle."&& rm -f bin/cdd-python-all.wasm && zip -r bin/cdd-python-all.wasm src pyproject.toml)
0 commit comments