Compare commits

...

2 Commits

Author SHA1 Message Date
Bernhard M. Wiedemann
68cb99770f
Merge c77aced4b6 into 696110eae5 2024-10-27 04:51:04 +00:00
Bernhard M. Wiedemann
c77aced4b6
WIP: Replace BUILD_DATE with VERSION
to make builds reproducible.
See https://reproducible-builds.org/ for why this is good.
2024-10-27 05:50:42 +01:00
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
fn main() {
// Add current date as a variable to be displayed in the 'Linux Toolbox' text.
println!(
"cargo:rustc-env=BUILD_DATE={}",
chrono::Local::now().format("%Y-%m-%d")
"cargo:rustc-env=VERSION={}",
"FIXME"
);
}

View File

@ -24,7 +24,7 @@ use temp_dir::TempDir;
const MIN_WIDTH: u16 = 77;
const MIN_HEIGHT: u16 = 19;
const TITLE: &str = concat!("Linux Toolbox - ", env!("BUILD_DATE"));
const TITLE: &str = concat!("Linux Toolbox - ", env!("VERSION"));
const ACTIONS_GUIDE: &str = "List of important tasks performed by commands' names:
D - disk modifications (ex. partitioning) (privileged)