use std::env; fn main() { // Only generate completions when explicitly requested if env::var("GENERATE_COMPLETIONS").is_ok() { println!("cargo:warning=To generate shell completions, run: cargo run --bin quicommit -- completions"); } // Rerun if build.rs changes println!("cargo:rerun-if-changed=build.rs"); }