BinaryArtifactTarget
Represents a target describing an artifact (e.g. a library or executable) that is distributed as a binary.
struct BinaryArtifactTarget
Represents a target describing an artifact (e.g. a library or executable) that is distributed as a binary.
struct BinaryArtifactTarget
import PackagePlugin
protocol Target
Represents a single target defined in a package.
let artifactURL: URL
The location of the binary artifact in the local file system.
let dependencies: [TargetDependency]
let directoryURL: URL
The absolute path of the target directory in the local file system.
let id: ID
let kind: Kind
The kind of binary artifact.
let name: String
let origin: Origin
The original source of the binary artifact.
enum Kind
Represents a kind of binary artifact.
enum Origin
let artifact: Path
The location of the binary artifact in the local file system.
let directory: Path
var recursiveTargetDependencies: [Target] { get }
The transitive closure of all the targets on which the receiver depends, ordered such that every dependency appears before any other target that depends on it (i.e. in “topological sort order”).
var sourceModule: SourceModuleTarget? { get }
Convenience accessor which casts the receiver toSourceModuleTarget
if possible.