File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ CLEAN.include('spec/pb-ts/*.ts')
1313CLEAN . include ( 'spec/js-client/main.js' )
1414CLEAN . include ( 'spec/node-client/dist/*' )
1515
16+ NAMELY_DOCKER_IMAGE = 'namely/protoc-all:1.31_2'
17+
1618module RakeHelpers
1719 def self . compile_protos_js_cmd ( mode , output_dir )
1820 [
@@ -37,7 +39,7 @@ task :compile_protos_ruby do
3739 sh [
3840 'docker run' ,
3941 "-v \" #{ File . expand_path ( 'spec' , __dir__ ) } :/defs\" " ,
40- 'namely/protoc-all' ,
42+ NAMELY_DOCKER_IMAGE ,
4143 '-d /defs/pb-src' ,
4244 '-o /defs/pb-ruby' ,
4345 '-l ruby' ,
@@ -52,7 +54,7 @@ task :compile_protos_ts do
5254 'docker run' ,
5355 "-v \" #{ defs_dir } :/defs\" " ,
5456 '--entrypoint protoc' ,
55- 'namely/protoc-all' ,
57+ NAMELY_DOCKER_IMAGE ,
5658 '--plugin=protoc-gen-ts=/usr/bin/protoc-gen-ts' ,
5759 '--js_out=import_style=commonjs,binary:/defs/pb-ts' ,
5860 '--ts_out=service=grpc-web:/defs/pb-ts' ,
You can’t perform that action at this time.
0 commit comments