summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.de>2009-08-20 17:05:00 +0200
committerChristoph Helma <helma@in-silico.de>2009-08-20 17:05:00 +0200
commitd45ceec09ae23bfb8a20af625f216069cefa1b9e (patch)
treef6144864c5bb11c979f896c4e41a08724a208c61 /lib
parent26c7176e39178797874460dd0fbe61cfeb360770 (diff)
Initial Rake tasks added
Diffstat (limited to 'lib')
-rw-r--r--lib/opentox-ruby-api-wrapper.rb1
-rw-r--r--lib/tasks/opentox.rb15
2 files changed, 15 insertions, 1 deletions
diff --git a/lib/opentox-ruby-api-wrapper.rb b/lib/opentox-ruby-api-wrapper.rb
index 4a65697..db46149 100644
--- a/lib/opentox-ruby-api-wrapper.rb
+++ b/lib/opentox-ruby-api-wrapper.rb
@@ -1,4 +1,3 @@
-#['rubygems', 'rest_client', 'spork', 'helper' ].each do |lib|
['rubygems', 'rest_client', 'spork' ].each do |lib|
require lib
end
diff --git a/lib/tasks/opentox.rb b/lib/tasks/opentox.rb
new file mode 100644
index 0000000..c44ceb6
--- /dev/null
+++ b/lib/tasks/opentox.rb
@@ -0,0 +1,15 @@
+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
+