20
21
22
23
24
25
26
27
28
29
30
31
|
# File 'snapshot/lib/snapshot/test_command_generator_base.rb', line 20
def options(language, locale)
config = Snapshot.config
result_bundle_path = resolve_result_bundle_path(language, locale) if config[:result_bundle]
options = []
options += project_path_array
options << "-sdk '#{config[:sdk]}'" if config[:sdk]
options << "-derivedDataPath '#{derived_data_path}'"
options << "-resultBundlePath '#{result_bundle_path}'" if result_bundle_path
options << config[:xcargs] if config[:xcargs]
return options
end
|