Skip to content

번역

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

기여

ENUM

TargetScript.Script

Contents

  • Cases
    • tool(path:args:)
    • scriptPath(path:args:)
    • embedded(_:)
swift
public enum Script: Equatable, Codable, Sendable

Specifies how to execute the target script

  • tool: Executes the tool with the given arguments. Tuist will look up the tool on the environment's PATH.
  • scriptPath: Executes the file at the path with the given arguments.
  • text: Executes the embedded script. This should be a short command.

Cases

tool(path:args:)

swift
case tool(path: String, args: [String])

scriptPath(path:args:)

swift
case scriptPath(path: Path, args: [String])

embedded(_:)

swift
case embedded(String)

Released under the MIT License.