STRUCT
ExecutionAction
Contents
- Properties
titlescriptTexttargetshellPathshowEnvVarsInLog
- Methods
init(title:scriptText:target:shellPath:showEnvVarsInLog:)
swift
public struct ExecutionAction: Equatable, CodableAn action that can be executed as part of another action for pre or post execution.
Properties
title
swift
public var title: StringName of a script.
scriptText
swift
public var scriptText: StringAn 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: BoolMethods
init(title:scriptText:target:shellPath:showEnvVarsInLog:)
swift
public init(
title: String = "Run Script",
scriptText: String,
target: TargetReference? = nil,
shellPath: String? = nil,
showEnvVarsInLog: Bool = true
)