tasks/gem.rake in bones-2.0.1 vs tasks/gem.rake in bones-2.0.2

- old
+ new

@@ -1,6 +1,6 @@ -# $Id: gem.rake 596 2008-04-15 05:51:29Z tim_pease $ +# $Id$ require 'rake/gempackagetask' namespace :gem do @@ -89,11 +89,11 @@ } } end desc 'Install the gem' - task :install => [:clobber, :package] do + task :install => [:clobber, 'gem:package'] do sh "#{SUDO} #{GEM} install --local pkg/#{PROJ.gem._spec.full_name}" # use this version of the command for rubygems > 1.0.0 #sh "#{SUDO} #{GEM} install --no-update-sources pkg/#{PROJ.gem._spec.full_name}" end @@ -106,9 +106,14 @@ end end desc 'Reinstall the gem' task :reinstall => [:uninstall, :install] + + desc 'Cleanup the gem' + task :cleanup do + sh "#{SUDO} #{GEM} cleanup #{PROJ.gem._spec.name}" + end end # namespace :gem desc 'Alias to gem:package' task :gem => 'gem:package'