Rakefile in ric-0.11.19 vs Rakefile in ric-0.12.0

- old
+ new

@@ -8,10 +8,11 @@ p.description = "My first gem with various utilities (colors and tests now). My name is Riccardo, hence 'ric' (ok I admit it, this was just ot prove Im able to build a sentence with hence!)" p.url = "http://github.com/palladius/ric" p.author = "Riccardo Carlesso" + #p.license = "See https://github.com/palladius/ric/blob/master/LICENSE" p.email = "['p','ll','diusbonton].join('a') @ gmail.com" p.ignore_pattern = [ "tmp/*", "docs/*", "script/*", @@ -26,11 +27,11 @@ end #### RAKE TEST require 'rake' require 'rake/testtask' -require 'rake/rdoctask' +require 'rdoc/task' desc 'Default: run unit tests.' task :default => :test desc 'Test the ric gem' @@ -47,6 +48,18 @@ rdoc.title = 'Ric GEM Hehehe' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README') rdoc.rdoc_files.include('HISTORY.yml') rdoc.rdoc_files.include('lib/**/*.rb') +end + +desc 'Deploys new version of gem' +#task :default => :test +namespace :deploy do + # I think it'd be smarter to do some + # task :manifest + # task :build_gemspec + # But I dont know how to do that :) + #system 'rake manifest && rake build_gemspec && echo built ok' + puts "TODO deploy gem to rubygems..." + system 'touch TODO-rake-deploy.touch' end