You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by mf...@redhat.com on 2012/03/13 14:42:42 UTC
[PATCH core 2/6] Client: Added 'reinstall' rake task to make gem testing more smooth
From: Michal Fojtik <mf...@redhat.com>
Signed-off-by: Michal fojtik <mf...@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