添加2048彩蛋

This commit is contained in:
2023-04-19 21:57:17 +08:00
parent f20dc0d4f8
commit 0b92a1411c
34 changed files with 4494 additions and 0 deletions

11
2048/Rakefile Normal file
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