aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorJez Ng <me@jezng.com>2013-06-07 15:37:47 -0700
committerJez Ng <me@jezng.com>2013-06-19 01:22:01 -0700
commit2f16717540cbeaa8e2e6b653bc31849111ccd9f2 (patch)
treea67c388de9926a2f290cbef3228e0e0ab6f4943d /emcc
parent165befaa29b7226b28caecd2f30bae91dc20f26f (diff)
Add test for source maps.
Tweak behavior of post_build; the `post2` hook now expects a function.
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc4
1 files changed, 2 insertions, 2 deletions
diff --git a/emcc b/emcc
index 7eb9effa..8dc7652a 100755
--- a/emcc
+++ b/emcc
@@ -1585,9 +1585,9 @@ try:
else:
logging.debug('did not see memory initialization')
- def generate_source_maps(filename, mapFileBaseName):
+ def generate_source_maps(filename, map_file_base_name):
jsrun.run_js(shared.path_from_root('tools', 'sourcemapper.js'),
- shared.NODE_JS, [filename, os.getcwd(), mapFileBaseName])
+ shared.NODE_JS, [filename, os.getcwd(), map_file_base_name])
# If we were asked to also generate HTML, do that
if final_suffix == 'html':