We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fd6331 commit f38a340Copy full SHA for f38a340
tools/system_libs.py
@@ -794,11 +794,12 @@ class State:
794
def retrieve():
795
# if EMCC_LOCAL_PORTS is set, we use a local directory as our ports. This is useful
796
# for testing. This env var should be in format
797
- # name=dir|subdir,name=dir|subdir
+ # name=dir|tag,name=dir|tag
798
# e.g.
799
# sdl2=/home/username/dev/ports/SDL2|SDL2-version_5
800
# so you could run
801
# 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)
803
local_ports = os.environ.get('EMCC_LOCAL_PORTS')
804
if local_ports:
805
local_ports = map(lambda pair: pair.split('='), local_ports.split(','))
0 commit comments