Method: Snapshot::TestCommandGeneratorBase.actions

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

.actionsObject



43
44
45
46
47
48
49
50
51
52
53
# File 'snapshot/lib/snapshot/test_command_generator_base.rb', line 43

def actions
  actions = []
  if Snapshot.config[:test_without_building]
    actions << "test-without-building"
  else
    actions << :clean if Snapshot.config[:clean]
    actions << :build # https://github.com/fastlane/fastlane/issues/2581
    actions << :test
  end
  return actions
end