Skip to content

STRUCT

ExecutionAction

Contents

  • Properties
    • title
    • scriptText
    • target
    • shellPath
    • showEnvVarsInLog
  • Methods
    • init(title:scriptText:target:shellPath:showEnvVarsInLog:)
swift
public struct ExecutionAction: Equatable, Codable

An action that can be executed as part of another action for pre or post execution.

Properties

title

swift
public var title: String

Name of a script.

scriptText

swift
public var scriptText: String

An inline shell script.

target

swift
public var target: TargetReference?

Name of the build or test target that will provide the action's build settings.

shellPath

swift
public var shellPath: String?

The path to the shell which shall execute this script. if it is nil, Xcode will use default value.

showEnvVarsInLog

swift
public let showEnvVarsInLog: Bool

Methods

init(title:scriptText:target:shellPath:showEnvVarsInLog:)

swift
public init(
    title: String = "Run Script",
    scriptText: String,
    target: TargetReference? = nil,
    shellPath: String? = nil,
    showEnvVarsInLog: Bool = true
)