This repository was archived by the owner on Oct 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Target
mattt edited this page Oct 22, 2020
·
2 revisions
The basic building blocks of a package.
public struct Target: EquatableA target can define a module or a test suite.
Targets can depend on other targets in this package, and on products in packages which this package depends on.
Decodable, Equatable
public init(from decoder: Decoder) throwsThe type of target (regular, test, or system)
let `type`: `Type`The name of the target.
let name: StringThe path to the target sources.
let path: String?The paths to sources that are excluded from the target.
let excludedPaths: [String]The names of the dependencies used by the target.
let dependencies: [String]The paths to resources bundled into the target.
let resources: [String]The settings specified for build the target.
let settings: [String]The name used for C modules.
let cModuleName: String?The providers of system packages used by the target.
let providers: [SystemPackageProvider]Generated at 2020-10-22T15:50:25+0000 using swift-doc 1.0.0-beta.5.