Rakefile in tracksperanto-3.5.5 vs Rakefile in tracksperanto-3.5.6

- old
+ new

@@ -63,7 +63,15 @@ f.write(three.join('---')) end end +# Automatically update the LICENSE +after :test do + license_path = File.dirname(__FILE__) + "/MIT_LICENSE.txt" + license_text = File.read(license_path) + license_text.gsub!(/2009\-(\d+)/, "2009-#{Time.now.year + 1}") + File.open(license_path, "w"){|f| f << license_text } +end + task :default => [ :test ]