diff options
author | Ethan P <eth-p+git@hidden.email> | 2019-09-27 12:34:08 -0700 |
---|---|---|
committer | Ethan P <eth-p+git@hidden.email> | 2019-09-27 12:34:08 -0700 |
commit | f09b75dafa1481a19e3d3a28c2a8238cd797e57b (patch) | |
tree | aacd71a29c62f138b71cff48d8ccd2e6c30a6b55 /build.rs | |
parent | 54ec2e7bd05da6390dd9ea4c6b4c716cbbb3ec40 (diff) |
Revert changing generated file names based on parameters
It should be handled by a packaging script, not a build script.
Diffstat (limited to 'build.rs')
-rw-r--r-- | build.rs | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -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(()) |