Skip to content

Commit

Permalink
Updated swift-argument-parser to v1.0.1+
Browse files Browse the repository at this point in the history
  • Loading branch information
bscothern committed Sep 30, 2021
1 parent d13038a commit 31c6664
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"repositoryURL": "https://github.com/apple/swift-argument-parser.git",
"state": {
"branch": null,
"revision": "92646c0cdbaca076c8d3d0207891785b3379cbff",
"version": "0.3.1"
"revision": "d2930e8fcf9c33162b9fcc1d522bc975e2d4179b",
"version": "1.0.1"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let package = Package(
),
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMinor(from: "0.3.1")),
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.0.1"),
],
targets: [
.target(
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,14 @@ There are example executables that are also used for testing in the `Executables
## Adding `ConfigArgumentParser` as a dependency
Add the following line to your package dependencies in your `Package.swift` file:
```swift
.package(url: "https://github.com/bscothern/ConfigArgumentParser", .upToNextMinor(from: "0.1.2")),
.package(url: "https://github.com/bscothern/ConfigArgumentParser", .upToNextMinor(from: "0.2.0")),
```

Then in the targets section add this line as a dependency in your `Package.swift` file:
```swift
.product(name: "ConfigArgumentParser", package: "ConfigArgumentParser"),
```

Because Swift Argument Parser is not stable yet this project is using `.upToNextMinor(from: "0.3.1")` for that dependency in order to stay compatible.

Breaking changes will happen on minor versions until version `1.0.0` is reached.

## Known Issues
Expand Down

0 comments on commit 31c6664

Please sign in to comment.