feat: Begins work on supporting toml for configuration.
This commit is contained in:
@@ -14,7 +14,8 @@ let package = Package(
|
||||
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.3.0"),
|
||||
.package(url: "https://github.com/pointfreeco/swift-dependencies", from: "1.5.2"),
|
||||
.package(url: "https://github.com/m-housh/swift-shell-client.git", from: "0.1.0"),
|
||||
.package(url: "https://git.housh.dev/michael/swift-cli-doc.git", from: "0.2.0")
|
||||
.package(url: "https://git.housh.dev/michael/swift-cli-doc.git", from: "0.2.0"),
|
||||
.package(url: "https://github.com/LebJe/TOMLKit.git", from: "0.5.0")
|
||||
],
|
||||
targets: [
|
||||
.executableTarget(
|
||||
@@ -35,6 +36,18 @@ let package = Package(
|
||||
.product(name: "ShellClient", package: "swift-shell-client")
|
||||
]
|
||||
),
|
||||
.testTarget(name: "CliClientTests", dependencies: ["CliClient"])
|
||||
.testTarget(
|
||||
name: "CliClientTests",
|
||||
dependencies: [
|
||||
"CliClient",
|
||||
.product(name: "TOMLKit", package: "TOMLKit")
|
||||
],
|
||||
resources: [
|
||||
.copy("Resources/config.json"),
|
||||
.copy("Resources/.hparc"),
|
||||
.copy("Resources/vault.yml"),
|
||||
.copy("Resources/hpa-playbook")
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user