You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2012/03/13 18:28:31 UTC

[3/6] git commit: Client: Added 'reinstall' rake task to make gem testing more smooth

Client: Added 'reinstall' rake task to make gem testing more smooth


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/6bf9c34c
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/6bf9c34c
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/6bf9c34c

Branch: refs/heads/master
Commit: 6bf9c34c9c8dcfd8ab8b9a3090bbad4c7b7dae1a
Parents: 7ab6f22
Author: Michal Fojtik <mf...@redhat.com>
Authored: Tue Mar 13 14:31:39 2012 +0100
Committer: Michal fojtik <mf...@redhat.com>
Committed: Tue Mar 13 18:29:14 2012 +0100

----------------------------------------------------------------------
 client/Rakefile |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/6bf9c34c/client/Rakefile
----------------------------------------------------------------------
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' )