check-rust-livekit-macos
1#!/usr/bin/env bash
2
3
4set -exuo pipefail
5
6git apply script/patches/use-cross-platform-livekit.patch
7
8# Re-enable error skipping for this check, so that we can unapply the patch
9set +e
10
11cargo check -p workspace
12exit_code=$?
13
14# Disable error skipping again
15set -e
16
17git apply -R script/patches/use-cross-platform-livekit.patch
18
19exit "$exit_code"