Instance Propertyswift-package-manager 6.0.1PackagePlugin
sourceFiles
PackageModel.swift:286let sourceFiles: FileList
let sourceFiles: FileList
s13PackagePlugin23SwiftSourceModuleTargetV11sourceFilesAA8FileListVvp
What are these?4Y2TA
import PackagePlugin
struct SwiftSourceModuleTarget
Represents a target consisting of a source code module compiled using Swift.
struct FileList
Provides information about a list of files. The order is not defined but is guaranteed to be stable. This allows the implementation to be more efficient than a static file list.
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 name: 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 directory: Path