mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-01 14:52:25 +00:00
11 lines
278 B
Rust
11 lines
278 B
Rust
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()
|
|
}
|