feat:(first commit)created repository and complete 0.1.0
This commit is contained in:
12
build.rs
Normal file
12
build.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
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");
|
||||
}
|
||||
Reference in New Issue
Block a user