gh-137025: Include `python.worker.mjs` in the Emscripten Web Example (#137236)

This commit is contained in:
adam j hartz 2025-07-31 04:19:52 -04:00 committed by GitHub
parent 5e2f0b976a
commit d5191ba99b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1121,6 +1121,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 $< $@
@ -1138,7 +1142,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)/