diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-06-12 06:36:01 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-06-12 17:26:18 +0200 |
commit | 7784cc2c1537a23b8b8ffa634b1a9b1ddf88886a (patch) | |
tree | 9c9d1de258b586e7fe866b8a4085cecf9fda430a /deno2/js/pbjs_hack.py | |
parent | dd48f8095c3357e6ec0e66042141c4e342707da5 (diff) |
Fix protobufjs snapshotting.
Diffstat (limited to 'deno2/js/pbjs_hack.py')
-rwxr-xr-x | deno2/js/pbjs_hack.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deno2/js/pbjs_hack.py b/deno2/js/pbjs_hack.py index f0cfa01a5..a4cc7dfb3 100755 --- a/deno2/js/pbjs_hack.py +++ b/deno2/js/pbjs_hack.py @@ -10,6 +10,7 @@ import sys import os js_path = os.path.dirname(os.path.realpath(__file__)) +#bin_path = os.path.join(js_path, "deno_protobufjs", "bin") bin_path = os.path.join(js_path, "node_modules", ".bin") pbjs_bin = os.path.join(bin_path, "pbjs") pbts_bin = os.path.join(bin_path, "pbts") @@ -28,8 +29,8 @@ def touch(fname): open(fname, 'a').close() subprocess.check_call([ - "node", pbjs_bin, + #"--dependency=./deno_protobufjs/minimal", "--target=static-module", "--wraper=commonjs", "--out=" + msg_pbjs_out, @@ -45,5 +46,4 @@ subprocess.check_call([ ]) assert os.path.exists(msg_pbts_out) - touch(stamp_file) |