Repository navigation
Expand file tree
/
Copy pathPackage.swift
More file actions
62 lines (61 loc) · 2.09 KB
/
Copy pathPackage.swift
File metadata and controls
62 lines (61 loc) · 2.09 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
52
53
54
55
56
57
58
59
60
61
62
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "CodeIsland",
platforms: [.macOS(.v14)],
dependencies: [
// Sparkle — auto-update framework. Pinned to 2.6+ for stable
// SPUStandardUpdaterController + ed25519 signature verification.
.package(url: "https://github.com/sparkle-project/Sparkle.git", from: "2.6.0"),
.package(url: "https://github.com/jpsim/Yams.git", from: "5.0.0"),
],
targets: [
.target(
name: "CodeIslandCore",
path: "Sources/CodeIslandCore"
),
.executableTarget(
name: "CodeIsland",
dependencies: [
"CodeIslandCore",
.product(name: "Sparkle", package: "Sparkle"),
.product(name: "Yams", package: "Yams"),
],
path: "Sources/CodeIsland",
resources: [
.copy("Resources")
]
),
.executableTarget(
name: "codeisland-bridge",
dependencies: ["CodeIslandCore"],
path: "Sources/CodeIslandBridge"
),
// Resets the xctest runner's shared defaults domain when a test
// bundle loads (see Tests/TestDefaultsReset/TestDefaultsReset.c).
.target(
name: "TestDefaultsReset",
path: "Tests/TestDefaultsReset"
),
// The stand-in ancestor processes BridgeGoldenTests runs the bridge
// under, built next to the test bundles (never shipped).
.executableTarget(
name: "codeisland-golden-stub",
path: "Tests/GoldenAncestryStub"
),
.testTarget(
name: "CodeIslandCoreTests",
dependencies: ["CodeIslandCore", "TestDefaultsReset"],
path: "Tests/CodeIslandCoreTests"
),
.testTarget(
name: "CodeIslandTests",
dependencies: [
"CodeIsland",
"TestDefaultsReset",
.product(name: "Yams", package: "Yams"),
],
path: "Tests/CodeIslandTests"
),
]
)