Adding install_gem rake task

This commit is contained in:
Bryan Helmkamp 2008-11-06 14:44:06 -05:00
parent f6d95d34ae
commit 0943d537ea

View File

@ -69,3 +69,9 @@ end
task :default do task :default do
Rake::Task["verify_rcov"].invoke Rake::Task["verify_rcov"].invoke
end end
desc 'Install the package as a gem.'
task :install_gem => [:clean, :package] do
gem = Dir['pkg/*.gem'].first
sh "sudo gem install --local #{gem}"
end