diff options
author | Christoph Helma <helma@in-silico.de> | 2009-08-21 09:58:05 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.de> | 2009-08-21 09:58:05 +0200 |
commit | 2d935206eacec241a52713d1fe319cc78189d97d (patch) | |
tree | 78a375086f81fecbd13bca3c81fd1e757cf2ccb7 /lib/tasks | |
parent | d45ceec09ae23bfb8a20af625f216069cefa1b9e (diff) |
environment.rb and templates added
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/opentox.rb | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/lib/tasks/opentox.rb b/lib/tasks/opentox.rb index c44ceb6..59fc16c 100644 --- a/lib/tasks/opentox.rb +++ b/lib/tasks/opentox.rb @@ -1,15 +1,20 @@ -desc "Install required gems" -task :install do - puts `sudo gem install #{@gems}` -end +require File.join(File.dirname(__FILE__), '../..', 'test/opentox-ruby-api-wrapper_test.rb') -desc "Update gems" -task :update do - puts `sudo gem update #{@gems}` -end +namespace :opentox do -desc "Run tests" -task :test do - load 'test.rb' -end + desc "Install required gems" + task :install do + puts `sudo gem install #{@gems}` + end + desc "Update gems" + task :update do + puts `sudo gem update #{@gems}` + end + + desc "Run tests" + task :test do + load 'test.rb' + end + +end |