mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-23 00:03:27 +01:00
15 lines
364 B
Rust
15 lines
364 B
Rust
#[cfg(feature = "application")]
|
|
mod application;
|
|
mod util;
|
|
|
|
fn main() -> anyhow::Result<()> {
|
|
// 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/");
|
|
|
|
#[cfg(feature = "application")]
|
|
application::gen_man_and_comp()?;
|
|
|
|
Ok(())
|
|
}
|