Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Examples/hello-world-cli-example/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let package = Package(
dependencies: [
.package(
url: "https://github.com/apple/swift-configuration",
.upToNextMinor(from: "0.1.0"),
.upToNextMinor(from: "0.2.0"),
traits: [.defaults, "CommandLineArgumentsSupport"]
)
],
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ If both sources are unavailable, the fallback default of `60` is returned.
Add the dependency to your `Package.swift`:

```swift
.package(url: "https://github.com/apple/swift-configuration", .upToNextMinor(from: "0.1.0"))
.package(url: "https://github.com/apple/swift-configuration", .upToNextMinor(from: "0.2.0"))
```

Add the library dependency to your target:
Expand Down Expand Up @@ -94,7 +94,7 @@ To enable an additional trait on the package, update the package dependency:
```diff
.package(
url: "https://github.com/apple/swift-configuration",
.upToNextMinor(from: "0.1.0"),
.upToNextMinor(from: "0.2.0"),
+ traits: [.defaults, "OtherFeatureSupport"]
)
```
Expand Down
2 changes: 1 addition & 1 deletion Sources/Configuration/Documentation.docc/Documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ These providers can be combined to form a hierarchy, for details check out <doc:
Add the dependency to your `Package.swift`:

```swift
.package(url: "https://github.com/apple/swift-configuration", .upToNextMinor(from: "0.1.0"))
.package(url: "https://github.com/apple/swift-configuration", .upToNextMinor(from: "0.2.0"))
```

Add the library dependency to your target:
Expand Down
Loading