diff options
author | Jez Ng <me@jezng.com> | 2013-06-19 05:08:43 -0700 |
---|---|---|
committer | Jez Ng <me@jezng.com> | 2013-06-19 14:15:18 -0700 |
commit | 54a59bee849be1da0c6d1de0dc4a6a73744c6d04 (patch) | |
tree | 67405818086e42333a459adfe5ebca140cd33efe | |
parent | 0f73e28bab1c1b8caa8f7b77692bebd705bebe6a (diff) |
Move source mapping files into their own folder.
-rwxr-xr-x | emcc | 2 | ||||
-rwxr-xr-x | tests/runner.py | 2 | ||||
-rw-r--r-- | tools/source-maps/sourcemap2json.js (renamed from tools/sourcemap2json.js) | 0 | ||||
-rwxr-xr-x | tools/source-maps/sourcemapper.js (renamed from tools/sourcemapper.js) | 0 |
4 files changed, 2 insertions, 2 deletions
@@ -1587,7 +1587,7 @@ try: logging.debug('did not see memory initialization') def generate_source_map(filename, map_file_base_name, offset=0): - jsrun.run_js(shared.path_from_root('tools', 'sourcemapper.js'), + jsrun.run_js(shared.path_from_root('tools', 'source-maps', 'sourcemapper.js'), shared.NODE_JS, [filename, os.getcwd(), map_file_base_name, str(offset)]) # If we were asked to also generate HTML, do that diff --git a/tests/runner.py b/tests/runner.py index b3cfd1ae..63f5048a 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -9614,7 +9614,7 @@ def process(filename): self.assertIdentical(src_filename, data['sources'][0]) self.assertIdentical(src, data['sourcesContent'][0]) mappings = json.loads(jsrun.run_js( - path_from_root('tools', 'sourcemap2json.js'), + path_from_root('tools', 'source-maps', 'sourcemap2json.js'), tools.shared.NODE_JS, [map_filename])) seen_lines = set() for m in mappings: diff --git a/tools/sourcemap2json.js b/tools/source-maps/sourcemap2json.js index 5dd162b2..5dd162b2 100644 --- a/tools/sourcemap2json.js +++ b/tools/source-maps/sourcemap2json.js diff --git a/tools/sourcemapper.js b/tools/source-maps/sourcemapper.js index c7021a0f..c7021a0f 100755 --- a/tools/sourcemapper.js +++ b/tools/source-maps/sourcemapper.js |