From 35a4fc3c3e1871cb0b4a8bf243d5b97f0e827628 Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Sat, 1 Feb 2025 17:41:08 +1300 Subject: Set last-modified time of generated files same as source file When generating a file from a source file, the last-modified time of the generated file will be set to be the same as the last-modified time of the source file. This is so that when copying the generated website to a server with rsync, only modified files will be copied over, saving considerable time. This commit also updates vagabond to the latest version which includes a change where files are only copied if they have been modified or if they haven't yet been copied. This saves considerable time when generating the website, if the website contains large static files. --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index b1a9231..b4c5475 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -24,8 +24,8 @@ dependencies = [ [[package]] name = "vagabond" -version = "1.0.3" -source = "git+git://benbridle.com/vagabond?tag=v1.0.3#fb80ee168e1977230680115304103b80ccf7f1ac" +version = "1.1.0" +source = "git+git://benbridle.com/vagabond?tag=v1.1.0#6e759a3abb3bc3e5da42d69a6f20ec2c31eb33de" [[package]] name = "xflags" -- cgit v1.2.3-70-g09d2