fork/rust-sdks

git clone https://git.julia.blue/fork/rust-sdks

zesun96add livekit-ffi generate proto script in windows (#494)154555b

livekit/livekit-ffi@0.13.0
1.0 KiB33 linesraw
1@echo off
2
3rem Copyright 2023 LiveKit, Inc.
4rem
5rem Licensed under the Apache License, Version 2.0 (the "License");
6rem you may not use this file except in compliance with the License.
7rem You may obtain a copy of the License at
8rem
9rem     http://www.apache.org/licenses/LICENSE-2.0
10rem
11rem Unless required by applicable law or agreed to in writing, software
12rem distributed under the License is distributed on an "AS IS" BASIS,
13rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14rem See the License for the specific language governing permissions and
15rem limitations under the License.
16
17set PROTOCOL=protocol
18set OUT_RUST=src
19
20protoc.exe ^
21    -I=%PROTOCOL% ^
22    --prost_out=%OUT_RUST% ^
23    %PROTOCOL%/ffi.proto ^
24    %PROTOCOL%/handle.proto ^
25    %PROTOCOL%/room.proto ^
26    %PROTOCOL%/track.proto ^
27    %PROTOCOL%/track_publication.proto ^
28    %PROTOCOL%/participant.proto ^
29    %PROTOCOL%/video_frame.proto ^
30    %PROTOCOL%/audio_frame.proto ^
31    %PROTOCOL%/e2ee.proto ^
32    %PROTOCOL%/stats.proto ^
33    %PROTOCOL%/rpc.proto