Skip to content

Commit

Permalink
Comment out build file generation notices
Browse files Browse the repository at this point in the history
Comment out build file generation notices so that our builds aren't
noisy.

<!-- ps-id: ece11ab5-5657-4fb1-bb06-aadc9ee26503 -->
  • Loading branch information
drewdeponte committed Oct 19, 2023
1 parent 12a1ff1 commit 49d5ac6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ fn main() -> Result<(), Error> {
generate_to(Shell::Bash, &mut cmd, env!("CARGO_PKG_NAME"), &outdir)?;
let _zsh_completion_path = generate_to(Shell::Zsh, &mut cmd, env!("CARGO_PKG_NAME"), &outdir)?;

println!("cargo:warning=completion file is generated: {_bash_completion_path:?}");
println!("cargo:warning=completion file is generated: {_zsh_completion_path:?}");
// println!("cargo:warning=completion file is generated: {_bash_completion_path:?}");
// println!("cargo:warning=completion file is generated: {_zsh_completion_path:?}");

// Generate primary man page
let man = clap_mangen::Man::new(cmd.clone());
Expand All @@ -41,7 +41,7 @@ fn main() -> Result<(), Error> {
let _man_path = format!("{}/gps.1", outdir.to_str().unwrap());

std::fs::write(_man_path.as_str(), buffer)?;
println!("cargo:warning=man file is generated: {_man_path:?}");
// println!("cargo:warning=man file is generated: {_man_path:?}");

// Generate subcommand man pages
let name = "gps";
Expand All @@ -58,7 +58,7 @@ fn main() -> Result<(), Error> {
man.render(&mut buffer)?;
let _man_path = format!("{}/{}.1", outdir.to_str().unwrap(), &subcommand_man_name);
std::fs::write(_man_path.as_str(), buffer)?;
println!("cargo:warning=man file is generated: {_man_path:?}");
// println!("cargo:warning=man file is generated: {_man_path:?}");
}

Ok(())
Expand Down

0 comments on commit 49d5ac6

Please sign in to comment.