Skip to content

Commit 9827ec1

Browse files
authored
Merge pull request #39 from Automattic/update/swift-argument-parser
Update Swift Argument Parser
2 parents 4bc3e42 + e5ed7b1 commit 9827ec1

File tree

5 files changed

+234
-199
lines changed

5 files changed

+234
-199
lines changed

Package.resolved

Lines changed: 174 additions & 176 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.3
1+
// swift-tools-version:5.6
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription
@@ -10,28 +10,28 @@ let package = Package(
1010
],
1111
dependencies: [
1212
// Dependencies declare other packages that this package depends on.
13-
.package(url: "https://github.com/apple/swift-argument-parser", from: "0.4.0"),
13+
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.1.4"),
1414
.package(url: "https://github.com/soto-project/soto.git", from: "6.0.0"),
1515
.package(url: "https://github.com/jkmassel/prlctl.git", from: "1.17.0"),
1616
.package(url: "https://github.com/ebraraktas/swift-tqdm.git", from: "0.1.2"),
1717
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
18-
.package(name: "kcpassword", url: "https://github.com/jkmassel/kcpassword-swift.git", from: "1.0.0"),
18+
.package(url: "https://github.com/jkmassel/kcpassword-swift.git", from: "1.0.0"),
1919
.package(url: "https://github.com/swiftpackages/DotEnv.git", from: "3.0.0"),
2020
.package(url: "https://github.com/apple/swift-tools-support-core", from: "0.2.5")
2121

2222
],
2323
targets: [
2424
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
2525
// Targets can depend on other targets in this package, and on products in packages this package depends on.
26-
.target(
26+
.executableTarget(
2727
name: "hostmgr",
2828
dependencies: [
2929
.product(name: "ArgumentParser", package: "swift-argument-parser"),
3030
.product(name: "SotoS3", package: "soto"),
3131
.product(name: "prlctl", package: "prlctl"),
3232
.product(name: "Tqdm", package: "swift-tqdm"),
3333
.product(name: "Logging", package: "swift-log"),
34-
.product(name: "kcpassword", package: "kcpassword"),
34+
.product(name: "kcpassword", package: "kcpassword-swift"),
3535
.target(name: "libhostmgr")
3636
]
3737
),

0 commit comments

Comments
 (0)