mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00: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:
2 files changed
+6
-15
No files matched your search
@@ -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