Português (Portuguese)
Appearance
Português (Portuguese)
Appearance
STRUCT
TargetReference Contents
projectPathtargetNameinit(stringLiteral:)project(path:target:)target(_:)public struct TargetReference: Hashable, Codable, ExpressibleByStringInterpolation, SendableA target reference for a specified project.
The project is specified through the path and should contain the target name.
projectPath public var projectPath: Path?Path to the target's project directory.
targetName public var targetName: StringName of the target.
init(stringLiteral:) public init(stringLiteral value: String)| Name | Description |
|---|---|
| value | The value of the new instance. |
project(path:target:) public static func project(path: Path, target: String) -> TargetReferencetarget(_:) public static func target(_ name: String) -> TargetReference