mirror of
https://github.com/neon443/neon443.github.io.git
synced 2026-03-11 15:16:18 +00:00
forgot that 4 of them were git repos :skull
This commit is contained in:
11
games/2048/Rakefile
Normal file
11
games/2048/Rakefile
Normal 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
|
||||
Reference in New Issue
Block a user