Sha256: 1c4a5580ecaf3d9cef7422bdc9e40d6ccc3d6a990e10dc376338d55074bc5880

Contents?: true

Size: 663 Bytes

Versions: 2

Compression:

Stored size: 663 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec)

task default: %i[spec]

desc "Generate protobuf stubs"
task :proto do
  system("protoc",
         "--proto_path=protocol/protobufs",
         "--ruby_out=lib/livekit/proto",
         "--twirp_ruby_out=lib/livekit/proto",
         "-Iprotocol",
         "./protocol/protobufs/livekit_egress.proto",
         "./protocol/protobufs/livekit_ingress.proto",
         "./protocol/protobufs/livekit_sip.proto",
         "./protocol/protobufs/livekit_models.proto",
         "./protocol/protobufs/livekit_room.proto",
         "./protocol/protobufs/livekit_webhook.proto")
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
livekit-server-sdk-0.6.5 Rakefile
livekit-server-sdk-0.6.4 Rakefile