This commit is contained in:
2023-03-19 16:20:15 +08:00
parent 9fd3e71630
commit 2cfc7eceb5
51 changed files with 4667 additions and 66 deletions

View File

@@ -0,0 +1,11 @@
require "date"
namespace :appcache do
desc "update the date in the appcache file (in the gh-pages branch)"
task :update do
appcache = File.read("cache.appcache")
updated = "# Updated: #{DateTime.now}"
File.write("cache.appcache", appcache.sub(/^# Updated:.*$/, updated))
end
end