Method: Xcodeproj::XCScheme::AbstractSchemeAction#pre_actions
- Defined in:
- lib/xcodeproj/scheme/abstract_scheme_action.rb
#pre_actions ⇒ Array<ExecutionAction>
Returns The list of actions to run before this scheme action. Each entry can be either a ‘Run Script’ or a ‘Send Email’ action.
31 32 33 34 35 36 37 |
# File 'lib/xcodeproj/scheme/abstract_scheme_action.rb', line 31 def pre_actions pre_actions = @xml_element.elements['PreActions'] return nil unless pre_actions pre_actions.get_elements('ExecutionAction').map do |entry_node| ExecutionAction.new(entry_node) end end |