Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-137025: Include python.worker.mjs in the Emscripten Web Example (
GH-137236)

(cherry picked from commit d5191ba)

Co-authored-by: adam j hartz <[email protected]>
  • Loading branch information
adqm authored and miss-islington committed Jul 31, 2025
commit cab5da7f1a9398b845a3eb03536de910c5d1f16a
6 changes: 5 additions & 1 deletion Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -1109,6 +1109,10 @@ web_example/index.html: $(WEBEX_DIR)/index.html
@mkdir -p web_example
@cp $< $@

web_example/python.worker.mjs: $(WEBEX_DIR)/python.worker.mjs
@mkdir -p web_example
@cp $< $@

web_example/server.py: $(WEBEX_DIR)/server.py
@mkdir -p web_example
@cp $< $@
Expand All @@ -1126,7 +1130,7 @@ web_example/python.mjs web_example/python.wasm: $(BUILDPYTHON)
cp python.wasm web_example/python.wasm

.PHONY: web_example
web_example: web_example/python.mjs web_example/index.html web_example/server.py web_example/$(ZIP_STDLIB)
web_example: web_example/python.mjs web_example/python.worker.mjs web_example/index.html web_example/server.py web_example/$(ZIP_STDLIB)

WEBEX2=web_example_pyrepl_jspi
WEBEX2_DIR=$(EMSCRIPTEN_DIR)/$(WEBEX2)/
Expand Down
Loading