-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPackage.swift
48 lines (46 loc) · 2.22 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "swift-gen-kit",
platforms: [
.iOS(.v16),
.macOS(.v13),
.watchOS(.v9),
.tvOS(.v16),
],
products: [
.library(name: "GenKit", targets: ["GenKit"]),
.executable(name: "GenCmd", targets: ["GenCmd"]),
],
dependencies: [
.package(url: "https://github.com/nathanborror/swift-json", branch: "main"),
.package(url: "https://github.com/nathanborror/swift-shared-kit", branch: "main"),
.package(url: "https://github.com/nathanborror/swift-openai", branch: "main"),
.package(url: "https://github.com/nathanborror/swift-ollama", branch: "main"),
.package(url: "https://github.com/nathanborror/swift-mistral", branch: "main"),
.package(url: "https://github.com/nathanborror/swift-anthropic", branch: "main"),
.package(url: "https://github.com/nathanborror/swift-perplexity", branch: "main"),
.package(url: "https://github.com/nathanborror/swift-elevenlabs", branch: "main"),
.package(url: "https://github.com/nathanborror/swift-fal", branch: "main"),
.package(url: "https://github.com/apple/swift-argument-parser", branch: "main"),
],
targets: [
.target(name: "GenKit", dependencies: [
.product(name: "JSON", package: "swift-json"),
.product(name: "SharedKit", package: "swift-shared-kit"),
.product(name: "OpenAI", package: "swift-openai"),
.product(name: "Ollama", package: "swift-ollama"),
.product(name: "Mistral", package: "swift-mistral"),
.product(name: "Perplexity", package: "swift-perplexity"),
.product(name: "Anthropic", package: "swift-anthropic"),
.product(name: "ElevenLabs", package: "swift-elevenlabs"),
.product(name: "Fal", package: "swift-fal"),
]),
.executableTarget(name: "GenCmd", dependencies: [
"GenKit",
.product(name: "ArgumentParser", package: "swift-argument-parser"),
]),
.testTarget(name: "GenKitTests", dependencies: ["GenKit"]),
]
)