summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.de>2009-10-26 17:53:45 +0100
committerChristoph Helma <helma@in-silico.de>2009-10-26 17:53:45 +0100
commit1ecf89c2b0f13a661d6964b2fe872cc88b956010 (patch)
treeae0939ee4bfa2f65e46dd7b1f6d1863916b65c9f /Rakefile
parent2c3d76bc6178f5fe72c0d86d2a62385afa33472c (diff)
fminer namespace for rake tasks
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile40
1 files changed, 21 insertions, 19 deletions
diff --git a/Rakefile b/Rakefile
index 2e52a8c..6d8ff0b 100644
--- a/Rakefile
+++ b/Rakefile
@@ -2,26 +2,28 @@ require 'rubygems'
require 'rake'
require 'tasks/opentox'
-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`
- puts `git submodule init`
- puts `git submodule update`
- Dir.chdir('libfminer')
- puts `git checkout master`
- puts `git pull`
- puts `make ruby`
-end
+namespace "fminer" do
+ 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`
+ puts `git submodule init`
+ puts `git submodule update`
+ Dir.chdir('libfminer')
+ puts `git checkout master`
+ puts `git pull`
+ 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`
+ 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
end
desc "Run tests"