mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-18 20:10:13 +02:00
Revert changing generated file names based on parameters
It should be handled by a packaging script, not a build script.
This commit is contained in:
9
build.rs
9
build.rs
@@ -55,16 +55,11 @@ fn template(
|
||||
fn main() -> Result<(), Box<dyn Error>> {
|
||||
let variables = init_template();
|
||||
|
||||
template(
|
||||
&variables,
|
||||
"assets/manual/bat.1.in",
|
||||
&format!("assets/manual/{}.1", EXECUTABLE_NAME.to_owned()),
|
||||
)?;
|
||||
|
||||
template(&variables, "assets/manual/bat.1.in", "assets/manual/bat.1")?;
|
||||
template(
|
||||
&variables,
|
||||
"assets/completions/bat.fish.in",
|
||||
&format!("assets/completions/{}.fish", EXECUTABLE_NAME.to_owned()),
|
||||
"assets/completions/bat.fish",
|
||||
)?;
|
||||
|
||||
Ok(())
|
||||
|
Reference in New Issue
Block a user