BlueGit

ict rusty-teams

Files

rusty-teams / crates / app-base / build.rs

build.rs

build.rs 362 B Download Raw
1//! Rebuild when locale catalogs change.
2//!
3//! `rust_i18n::i18n!` embeds YAML at compile time. Without these hints Cargo
4//! can keep a stale catalog after editing `locales/*.yml`, so the UI shows
5//! raw keys like `auth.banner.connecting`.
6
7fn main() {
8 println!("cargo:rerun-if-changed=locales");
9 println!("cargo:rerun-if-changed=locales/app.yml");
10}