diff options
author | Christoph Helma <ch@in-silico.ch> | 2009-08-14 17:15:54 +0200 |
---|---|---|
committer | Christoph Helma <ch@in-silico.ch> | 2009-08-14 17:15:54 +0200 |
commit | 61f055c15510352ffa87967ae5670c4355b4be8d (patch) | |
tree | 802f6b6da39617616c8125e89d0d87d37d2e655b /Rakefile | |
parent | e6881a5b40693402701e1c1caff564def46a6fd1 (diff) |
Update task added
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,7 +1,7 @@ require 'rubygems' require 'rake' -desc "Install required gems and openbabel" +desc "Install required gems and fminer" task :install do puts `sudo gem sources -a http://gems.github.com` puts `sudo gem install sinatra helma-opentox-ruby-api-wrapper` @@ -13,6 +13,16 @@ task :install do puts `make ruby` end +desc "Update gems and fminer" +task :update do + puts `sudo gem update sinatra helma-opentox-ruby-api-wrapper` + puts `git submodule update` + Dir.chdir('libfminer') + puts `git checkout master` + puts `git pull` + puts `make ruby` +end + desc "Run tests" task :test do puts "No tests for fminer." |