forked from polpielladev/chatty-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
31 lines (29 loc) · 1.27 KB
/
Package.swift
File metadata and controls
31 lines (29 loc) · 1.27 KB
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
// swift-tools-version: 5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "ChattyCLI",
platforms: [.macOS(.v11)],
products: [
.executable(name: "chatty", targets: ["ChattyCLI"])
],
dependencies: [
.package(url: "https://github.com/nate-parrott/openai-streaming-completions-swift.git", exact: "1.0.1"),
.package(url: "https://github.com/pakLebah/ANSITerminal.git", exact: "0.0.3"),
.package(url: "https://github.com/polpielladev/clack-swift", revision: "0d95ad488a21047dc36a9c0ac7f54338ce0c88ca"),
.package(url: "https://github.com/apple/swift-argument-parser.git", exact: "1.2.2"),
.package(url: "https://github.com/kishikawakatsumi/KeychainAccess", exact: "4.2.2")
],
targets: [
.executableTarget(
name: "ChattyCLI",
dependencies: [
.product(name: "OpenAIStreamingCompletions", package: "openai-streaming-completions-swift"),
"ANSITerminal",
.product(name: "Clack", package: "clack-swift"),
.product(name: "ArgumentParser", package: "swift-argument-parser"),
"KeychainAccess"
]
)
]
)