Enumerationswift-package-manager 6.0.3PackageModel
PackageCondition
One of possible conditions used in package manifests to restrict modules from being built for certain platforms or build configurations.
enum PackageCondition
One of possible conditions used in package manifests to restrict modules from being built for certain platforms or build configurations.
enum PackageCondition
import PackageModel
case platforms(PlatformsCondition)
case configuration(ConfigurationCondition)
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
init(configuration: BuildConfiguration)
init(platforms: [Platform])
var configurationCondition: ConfigurationCondition? { get }
var platformsCondition: PlatformsCondition? { get }
func satisfies(_ environment: BuildEnvironment) -> Bool
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.