You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Any product which matches the filter will be used for dependency resolution, whereas unrequested products will be ingored.
374
-
///
375
-
/// Requested products need not actually exist in the package. Under certain circumstances, the resolver may request names whose package of origin are unknown. The intended package will recognize and fullfill the request; packages that do not know what it is will simply ignore it.
Copy file name to clipboardExpand all lines: Sources/PackageModel/Product.swift
+100Lines changed: 100 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,50 @@ public enum ProductType: Equatable {
74
74
case test
75
75
}
76
76
77
+
/// The products requested of a package.
78
+
///
79
+
/// Any product which matches the filter will be used for dependency resolution, whereas unrequested products will be ingored.
80
+
///
81
+
/// Requested products need not actually exist in the package. Under certain circumstances, the resolver may request names whose package of origin are unknown. The intended package will recognize and fullfill the request; packages that do not know what it is will simply ignore it.
82
+
publicenumProductFilter:Equatable,Hashable{
83
+
84
+
/// All products, targets, and tests are requested.
85
+
///
86
+
/// This is used for root packages.
87
+
case everything
88
+
89
+
/// A set of specific products requested by one or more client packages.
0 commit comments