mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-21 21:09:42 +00:00
fix: Recheck date whenever code is modified
This commit is contained in:
parent
6b96adc92d
commit
dc8d363325
3
build.rs
3
build.rs
|
@ -1,6 +1,9 @@
|
|||
fn main() {
|
||||
// Rebuild program if any file in commands directory changes.
|
||||
println!("cargo:rerun-if-changed=src/commands");
|
||||
// Rerun build script if any code is modified
|
||||
println!("cargo:rerun-if-changed=src");
|
||||
|
||||
// Add current date as a variable to be displayed in the 'Linux Toolbox' text.
|
||||
println!(
|
||||
"cargo:rustc-env=BUILD_DATE={}",
|
||||
|
|
Loading…
Reference in New Issue
Block a user