-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathRakefile
More file actions
25 lines (22 loc) · 887 Bytes
/
Rakefile
File metadata and controls
25 lines (22 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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",
"./protocol/protobufs/logger/options.proto")
end