Permalink
Browse files

added copyright task

  • Loading branch information...
1 parent 290737e commit 30fdc11788a8c8519b19832a57e3cc50937eebd3 @rubyredrick committed Mar 13, 2009
Showing with 9 additions and 0 deletions.
  1. +2 −0 copyrights.txt
  2. +7 −0 tasks/ri_cal.rake
View
2 copyrights.txt
@@ -0,0 +1,2 @@
+©2009 Rick DeNatale
+All rights reserved
View
7 tasks/ri_cal.rake
@@ -331,3 +331,10 @@ namespace :rical do
updateTask File.join(File.dirname(__FILE__), '..', '/component_attributes', '*.yml'), :gen_propmodules
end # namespace :rical
+
+desc 'add or update copyright in code and specs'
+task :copyrights do
+ require 'mmcopyrights'
+ MM::Copyrights.process('lib', "rb", "#-", IO.read('copyrights.txt'))
+ MM::Copyrights.process('spec', "rb", "#-", IO.read('copyrights.txt'))
+end

0 comments on commit 30fdc11

Please sign in to comment.