Adding install_gem rake task
This commit is contained in:
parent
f6d95d34ae
commit
0943d537ea
8
Rakefile
8
Rakefile
@ -68,4 +68,10 @@ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user