summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorChristoph Helma <ch@in-silico.ch>2009-08-14 17:15:54 +0200
committerChristoph Helma <ch@in-silico.ch>2009-08-14 17:15:54 +0200
commit61f055c15510352ffa87967ae5670c4355b4be8d (patch)
tree802f6b6da39617616c8125e89d0d87d37d2e655b /Rakefile
parente6881a5b40693402701e1c1caff564def46a6fd1 (diff)
Update task added
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 5368e77..2a61a3f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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."