Skip to content

Commit f38a340

Browse files
committed
clarify EMCC_LOCAL_PORTS
1 parent 5fd6331 commit f38a340

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/system_libs.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -794,11 +794,12 @@ class State:
794794
def retrieve():
795795
# if EMCC_LOCAL_PORTS is set, we use a local directory as our ports. This is useful
796796
# for testing. This env var should be in format
797-
# name=dir|subdir,name=dir|subdir
797+
# name=dir|tag,name=dir|tag
798798
# e.g.
799799
# sdl2=/home/username/dev/ports/SDL2|SDL2-version_5
800800
# so you could run
801801
# EMCC_LOCAL_PORTS="sdl2=/home/alon/Dev/ports/SDL2|SDL2-version_5" ./tests/runner.py browser.test_sdl2_mouse
802+
# note that tag must be the tag in sdl.py, it is where we store to (not where we load from, we just load the local dir)
802803
local_ports = os.environ.get('EMCC_LOCAL_PORTS')
803804
if local_ports:
804805
local_ports = map(lambda pair: pair.split('='), local_ports.split(','))

0 commit comments

Comments
 (0)