Instance Propertyswift-package-manager 6.0.1PackagePlugin
name
PackageModel.swift:261let name: String
let name: String
import PackagePlugin
struct SwiftSourceModuleTarget
Represents a target consisting of a source code module compiled using Swift.
@frozen struct String
A Unicode string value that is a collection of characters.
let compilationConditions: [String]
Any custom compilation conditions specified for the Swift target in the package manifest.
let dependencies: [TargetDependency]
let directoryURL: URL
The absolute path of the target directory in the local file system.
let id: ID
let kind: ModuleKind
let linkedFrameworks: [String]
let linkedLibraries: [String]
let moduleName: String
let pluginGeneratedResources: [URL]
Paths of any resources generated by other plugins that have been applied to the given target before the plugin currently being executed.
let pluginGeneratedSources: [URL]
Paths of any sources generated by other plugins that have been applied to the given target before the plugin currently being executed.
let sourceFiles: FileList
let directory: Path