Context
The context information for a Swift package.
Context.swift:18- SwiftPM
- 5.6+
struct Context
The context encapsulates states that are known when Swift Package Manager interprets the package manifest, for example the location in the file system where the current package resides.
See also
class Package
The configuration of a Swift package.
Citizens in PackageDescription
Type members
static var environment: [String : String]
Snapshot of the system environment variables.
static var packageDirectory: String
The directory that contains
Package.swift
.