1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-01-19 04:21:06 +00:00
bat/build/main.rs

15 lines
364 B
Rust
Raw Normal View History

2023-10-30 17:49:50 +08:00
#[cfg(feature = "application")]
mod application;
mod util;
fn main() -> anyhow::Result<()> {
2023-11-02 23:29:42 +08:00
// only watch manually-designated files
// see: https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-changed
println!("cargo:rerun-if-changed=build/");
2023-10-30 17:49:50 +08:00
#[cfg(feature = "application")]
application::gen_man_and_comp()?;
Ok(())
}