deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [3/6] git commit: Client: Added 'reinstall' rake task to make gem testing more smooth
Date Tue, 13 Mar 2012 17:28:31 GMT
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 <mfojtik@redhat.com>
Authored: Tue Mar 13 14:31:39 2012 +0100
Committer: Michal fojtik <mfojtik@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' )


Mime
View raw message