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:
parent
560a6cbd79
commit
3bce2f99de
1 changed files with 6 additions and 0 deletions
6
Rakefile
6
Rakefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue