mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-24 14:11:55 +00:00
8 lines
207 B
Rust
8 lines
207 B
Rust
|
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")
|
||
|
);
|
||
|
}
|