exe/optimus-runner in optimus-runner-1.1.2 vs exe/optimus-runner in optimus-runner-1.1.3
- old
+ new
@@ -16,12 +16,23 @@
:backtrace => true,
:monitor => true,
:log_dir => "#{File.expand_path('~')}/optimus_runner/logs",
:logfilename => 'optimus-runner.log'
}
+
+ENV["ANDROID"]="true"
+ENV["IOS"]="true"
optparser = OptionParser.new do |parser|
parser.on('-e=FILE','--env=FILE', "Optimus Cloud Environment file") do |file|
Dotenv.load(file)
+ end
+ parser.on('-a','--android-only',"Create sessions for android") do
+ ENV["IOS"]="false"
+ p "running android"
+ end
+ parser.on('-i','--ios-only',"Create sessions for iOS") do
+ ENV["ANDROID"]="false"
+ p "running ios"
end
end
optparser.parse!(ARGV)
Daemons.run(File.join(File.dirname(__FILE__),'optimus_runner_manager'), options)
#Daemons.run('exe/optimus_runner_manager', options)