blob: 85c91f55a69ce636e6f63ace87d4c20e9e5d50e3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
fn main() {
if let Ok(git_ref) = std::env::var("GITHUB_REF") {
let branch = git_ref.strip_prefix("refs/heads/").unwrap_or(&git_ref);
if branch == "beta" {
println!("cargo:rustc-env=OPENCODE_SQLITE=1");
}
}
tauri_build::build()
}
|