summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/Rakefile b/Rakefile
index a287f95..d260989 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,12 +1,17 @@
require 'rubygems'
require 'opentox-ruby'
-TEST_USER = "guest"
-TEST_PW = "guest"
+if File.exists? "auth.rb"
+ require "auth"
+else
+ #exit "Please create an authenticatio
+ TEST_USER = "guest"
+ TEST_PW = "guest"
+end
task ARGV[0] do
- puts ENV["RACK_ENV"]
- puts ARGV[0]+".rb"
+ puts "Environment: #{ENV["RACK_ENV"]}"
+ puts "Test: "+ARGV[0]+".rb"
require "./"+ARGV[0]+".rb"
end