Additional configuration information to guide the package editing process.
struct Configuration
s18PackageModelSyntax9AddTargetV13ConfigurationV
75NOZ
import PackageModelSyntax
struct AddTarget
Add a target to a manifest’s source code.
static func addTarget(_ target: TargetDescription, to manifest: SourceFileSyntax, configuration: Configuration = .init(), installedSwiftPMConfiguration: InstalledSwiftPMConfiguration = .default) throws -> PackageEditResult
Add the given target to the manifest, producing a set of edit results that updates the manifest and adds some source files to stub out the new target.
enum TestHarness
The kind of test harness to use. This isn’t part of the manifest itself, but is used to guide the generation process.
init(testHarness: TestHarness = .default)
var testHarness: TestHarness
The test harness to use.