-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
51 lines (49 loc) · 1.46 KB
/
Package.swift
File metadata and controls
51 lines (49 loc) · 1.46 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "ollmlx",
platforms: [
.macOS(.v14),
],
products: [
.library(name: "OllmlxCore", targets: ["OllmlxCore"]),
.executable(name: "ollmlx", targets: ["ollmlx"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.0"),
.package(url: "https://github.com/hummingbird-project/hummingbird", from: "2.0.0"),
.package(url: "https://github.com/sparkle-project/Sparkle", from: "2.6.0"),
],
targets: [
.target(
name: "OllmlxCore",
dependencies: [
.product(name: "Hummingbird", package: "hummingbird"),
]
),
.executableTarget(
name: "ollmlx",
dependencies: [
"OllmlxCore",
.product(name: "ArgumentParser", package: "swift-argument-parser"),
]
),
.target(
name: "OllmlxApp",
dependencies: [
"OllmlxCore",
.product(name: "Sparkle", package: "Sparkle"),
],
resources: [
.copy("Resources/Scripts"),
]
),
.testTarget(
name: "OllmlxCoreTests",
dependencies: [
"OllmlxCore",
.product(name: "HummingbirdTesting", package: "hummingbird"),
]
),
]
)