Skip to content

번역

이 페이지를 번역하거나 기존 번역을 개선할 수 있습니다.

기여

STRUCT

ExecutionAction

Contents

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

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

Properties

title

swift
public var title: String

scriptText

swift
public var scriptText: String

target

swift
public var target: TargetReference?

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.

Methods

executionAction(title:scriptText:target:shellPath:)

swift
public static func executionAction(
    title: String = "Run Script",
    scriptText: String,
    target: TargetReference? = nil,
    shellPath: String? = nil
) -> Self

Released under the MIT License.