Formatting, linting, and hopefully a CI build.

This commit is contained in:
2023-04-22 15:43:22 -07:00
parent 2759c8d7fb
commit 4bf5ceefbe
13 changed files with 117 additions and 68 deletions

View File

@ -16,17 +16,22 @@ let package = Package(
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.2.0")
],
targets: [
.target(name: "StableDiffusionProtos", dependencies: [
.product(name: "SwiftProtobuf", package: "swift-protobuf"),
.product(name: "GRPC", package: "grpc-swift")
]),
.target(name: "StableDiffusionCore", dependencies: [
.product(name: "StableDiffusion", package: "ml-stable-diffusion"),
.target(name: "StableDiffusionProtos")
]),
.executableTarget(name: "StableDiffusionServer", dependencies: [
.product(name: "StableDiffusion", package: "ml-stable-diffusion"),
.product(name: "SwiftProtobuf", package: "swift-protobuf"),
.product(name: "GRPC", package: "grpc-swift"),
.target(name: "StableDiffusionProtos"),
.target(name: "StableDiffusionCore"),
.product(name: "ArgumentParser", package: "swift-argument-parser")
]),
.target(name: "StableDiffusionProtos", dependencies: [
.product(name: "SwiftProtobuf", package: "swift-protobuf"),
.product(name: "GRPC", package: "grpc-swift")
]),
.executableTarget(name: "TestStableDiffusionClient", dependencies: [
.target(name: "StableDiffusionProtos"),
.product(name: "GRPC", package: "grpc-swift")