Sha256: 2ddb99c39d7272a7dc7b585a932a783342a6645b4b723c7c21b82cfff09040d1
Contents?: true
Size: 592 Bytes
Versions: 44
Compression:
Stored size: 592 Bytes
Contents
#!/usr/bin/env ruby <%= render partial: "shared/header" -%> gem "gapic-generator" require "gapic/runner" require "google/protobuf/compiler/plugin.pb" # Ensure that no encoding conversions are done on STDIN and STDOUT # since we are passing binary data back and forth. Otherwise these # streams will be mangled on Windows. STDIN.binmode STDOUT.binmode request = Google::Protobuf::Compiler::CodeGeneratorRequest.decode STDIN.read # Run the request, specifying the <%= gem_name %> generator response = Gapic::Runner.run request, generator: :<%= gem_name %> STDOUT.print response.serialize
Version data entries
44 entries across 44 versions & 1 rubygems