/usr/bin/protoc-gen-beefcake is in ruby-beefcake 1.0.0-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #!/usr/bin/ruby
require 'rubygems'
require 'beefcake/generator'
ns = (ENV["BEEFCAKE_NAMESPACE"] || "").split("::")
req = CodeGeneratorRequest.decode(STDIN.read)
res = Beefcake::Generator.compile(ns, req)
# Send it out!
STDOUT.print(res.encode)
|