summaryrefslogtreecommitdiff
path: root/deno2/js/pbjs_hack.py
diff options
context:
space:
mode:
Diffstat (limited to 'deno2/js/pbjs_hack.py')
-rwxr-xr-xdeno2/js/pbjs_hack.py4
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)