Method: Snapshot::TestCommandGeneratorBase.project_path_array

Defined in:
snapshot/lib/snapshot/test_command_generator_base.rb

.project_path_arrayArray

Path to the project or workspace as parameter This will also include the scheme (if given)

Returns:

  • (Array)

    The array with all the components to join



14
15
16
17
18
# File 'snapshot/lib/snapshot/test_command_generator_base.rb', line 14

def project_path_array
  proj = Snapshot.project.xcodebuild_parameters
  return proj if proj.count > 0
  UI.user_error!("No project/workspace found")
end