deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@redhat.com
Subject [PATCH core 2/6] Client: Added 'reinstall' rake task to make gem testing more smooth
Date Tue, 13 Mar 2012 13:42:42 GMT
From: Michal Fojtik <mfojtik@redhat.com>


Signed-off-by: Michal fojtik <mfojtik@redhat.com>
---
 client/Rakefile |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/client/Rakefile b/client/Rakefile
index 6bf6260..c5a9f70 100644
--- a/client/Rakefile
+++ b/client/Rakefile
@@ -49,6 +49,13 @@ if available?('rspec')
   end
 end
 
+desc "Reinstall gem"
+task :reinstall do
+  puts %x{gem uninstall deltacloud-client --all -I -x}
+  puts %x{gem build deltacloud-client.gemspec}
+  puts %x{gem install deltacloud-client-*.gem --local}
+end
+
 desc "Setup Fixtures"
 task 'fixtures' do
   FileUtils.rm_rf( File.dirname( __FILE__ ) + '/specs/data' )
-- 
1.7.9.1


Mime
View raw message