- Add comprehensive documentation in botbook/ with 12 chapters - Add botapp/ Tauri desktop application - Add botdevice/ IoT device support - Add botlib/ shared library crate - Add botmodels/ Python ML models service - Add botplugin/ browser extension - Add botserver/ reorganized server code - Add bottemplates/ bot templates - Add bottest/ integration tests - Add botui/ web UI server - Add CI/CD workflows in .forgejo/workflows/ - Add AGENTS.md and PROD.md documentation - Add dependency management scripts (DEPENDENCIES.sh/ps1) - Remove legacy src/ structure and migrations - Clean up temporary and backup files
15 lines
576 B
Rust
15 lines
576 B
Rust
fn main() {
|
|
if std::path::Path::new("../botui/ui/suite/").exists() {
|
|
println!("cargo:rerun-if-changed=../botui/ui/suite/");
|
|
}
|
|
println!("cargo:rerun-if-changed=3rdparty.toml");
|
|
println!("cargo:rerun-if-changed=.env.embedded");
|
|
|
|
// Pass build metadata to the binary via option_env!
|
|
if let Ok(date) = std::env::var("BOTSERVER_BUILD_DATE") {
|
|
println!("cargo:rustc-env=BOTSERVER_BUILD_DATE={}", date);
|
|
}
|
|
if let Ok(commit) = std::env::var("BOTSERVER_COMMIT") {
|
|
println!("cargo:rustc-env=BOTSERVER_COMMIT={}", commit);
|
|
}
|
|
}
|