aboutsummaryrefslogtreecommitdiff
path: root/emscripten.py
diff options
context:
space:
mode:
authorChad Austin <chad@imvu.com>2013-01-29 17:42:03 -0800
committerChad Austin <chad@imvu.com>2013-03-04 19:07:43 -0800
commitcc9cc70e87d8f4b00aa869453802bf7eee718a4d (patch)
tree8ba2c08e80aa550ae2fe1b617dbe7b1ca2757c1d /emscripten.py
parentbd4bc7050b70b71d035327199a18a8e0725d7f1d (diff)
Delete the compiled relooper.js (but allow specification of an arbitrary relooper)
Diffstat (limited to 'emscripten.py')
-rwxr-xr-xemscripten.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/emscripten.py b/emscripten.py
index 1ea6e0d7..2ada0b0d 100755
--- a/emscripten.py
+++ b/emscripten.py
@@ -624,6 +624,9 @@ WARNING: You should normally never use this! Use emcc instead.
keywords.infile = os.path.abspath(positional[0])
if isinstance(keywords.outfile, basestring):
keywords.outfile = open(keywords.outfile, 'w')
+ if keywords.relooper:
+ shared.RELOOPER = os.path.abspath(keywords.relooper)
+ keywords.settings.append("RELOOPER=" + json.dumps(shared.RELOOPER))
global compiler_engine
compiler_engine = keywords.compiler