1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

added gem reinstall task to Rakefile (for easy local testing)

This commit is contained in:
John Mair 2011-12-15 15:05:52 +13:00
parent 560a6cbd79
commit 3bce2f99de

View file

@ -106,6 +106,12 @@ task :gems => [:clean, :rmgems, 'ruby:gem', 'mswin32:gem', 'mingw32:gem', 'jruby
desc "remove all platform gems"
task :rmgems => ['ruby:clobber_package']
desc "reinstall gem"
task :reinstall => :gems do
sh "gem uninstall pry"
sh "gem install #{direc}/pkg/pry-#{Pry::VERSION}.gem"
end
desc "build and push latest gems"
task :pushgems => :gems do
chdir("#{File.dirname(__FILE__)}/pkg") do