Sha256: 44b64f127fe7a05fbb5fef7c2c041edbe174c5fc9a43dd86a591bcd64850b582

Contents?: true

Size: 833 Bytes

Versions: 3

Compression:

Stored size: 833 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_agent.proto",
         "./protocol/protobufs/livekit_agent_dispatch.proto",
         "./protocol/protobufs/livekit_egress.proto",
         "./protocol/protobufs/livekit_ingress.proto",
         "./protocol/protobufs/livekit_sip.proto",
         "./protocol/protobufs/livekit_metrics.proto",
         "./protocol/protobufs/livekit_models.proto",
         "./protocol/protobufs/livekit_room.proto",
         "./protocol/protobufs/livekit_webhook.proto")
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
livekit-server-sdk-0.8.1 Rakefile
livekit-server-sdk-0.8.0 Rakefile
livekit-server-sdk-0.7.1 Rakefile