-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathPackage.swift
27 lines (25 loc) · 983 Bytes
/
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
// 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: "YourGoal",
platforms: [
.macOS(.v12)
],
products: [
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.0.0"),
.package(url: "https://github.com/dylanshine/openai-kit.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-nio.git", from: "2.0.0")
],
targets: [
.executableTarget(name: "yourgoal", dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "OpenAIKit", package: "openai-kit"),
.product(name: "NIOCore", package: "swift-nio"),
.product(name: "NIOPosix", package: "swift-nio"),
.product(name: "NIOHTTP1", package: "swift-nio")
])
]
)