forked from livekit/server-sdk-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
24 lines (21 loc) · 833 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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