-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPackage.swift
54 lines (52 loc) · 2.12 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
49
50
51
52
53
54
// swift-tools-version: 5.6
import PackageDescription
let package = Package(
name: "ReleaseSubscriptions",
platforms: [.macOS(.v11)],
products: [
.executable(name: "releaseSubscriptions", targets: ["ReleaseSubscriptions"]),
.executable(name: "releaseSummarizer", targets: ["ReleaseSummarizer"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", exact: "1.5.0"),
.package(url: "https://github.com/apple/swift-log", exact: "1.6.1"),
.package(url: "https://github.com/swiftlang/swift-markdown", exact: "0.5.0"),
.package(url: "https://github.com/behrang/YamlSwift", exact: "3.4.4"),
.package(url: "https://github.com/google-gemini/generative-ai-swift.git", exact: "0.5.6"),
],
targets: [
.executableTarget(
name: "ReleaseSubscriptions",
dependencies: [
"ReleaseSubscriptionsCore",
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "Logging", package: "swift-log"),
]),
.target(
name: "ReleaseSubscriptionsCore",
dependencies: [
.product(name: "Logging", package: "swift-log"),
.product(name: "Markdown", package: "swift-markdown"),
.product(name: "Yaml", package: "YamlSwift"),
]),
.executableTarget(
name: "ReleaseSummarizer",
dependencies: [
"ReleaseSummarizerCore",
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "Logging", package: "swift-log"),
]
),
.target(
name: "ReleaseSummarizerCore",
dependencies: [
"ReleaseSubscriptionsCore",
.product(name: "GoogleGenerativeAI", package: "generative-ai-swift"),
.product(name: "Logging", package: "swift-log"),
]
),
.testTarget(
name: "ReleaseSubscriptionsCoreTests",
dependencies: ["ReleaseSubscriptionsCore"]),
]
)