Static Propertyswift-package-manager 6.0.1Workspace
newPackageToolsVersion
The tool version to be used for new packages.
static let newPackageToolsVersion: ToolsVersion
The tool version to be used for new packages.
static let newPackageToolsVersion: ToolsVersion
s9Workspace11InitPackageC03newC12ToolsVersion0C5Model0eF0VvpZ
What are these?8NAPO
import Workspace
final class InitPackage
Create an initial template package.
struct ToolsVersion
Tools version represents version of the Swift toolchain.
init(name: String, options: InitPackageOptions, destinationPath: AbsolutePath, installedSwiftPMConfiguration: InstalledSwiftPMConfiguration, fileSystem: FileSystem) throws
Create an instance that can create a package with given arguments.
convenience init(name: String, packageType: PackageType, supportedTestingLibraries: Set<BuildParameters.Testing.Library>, destinationPath: AbsolutePath, installedSwiftPMConfiguration: InstalledSwiftPMConfiguration, fileSystem: FileSystem) throws
Create an instance that can create a package with given arguments.
var progressReporter: ((String) -> Void)?
A block that will be called to report progress during package creation
func writePackageStructure() throws
Actually creates the new package at the destinationPath
struct InitPackageOptions
Options for the template package.
enum PackageType
Represents a package type for the purposes of initialization.