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
|
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "Bubomb",
platforms: [
.macOS(.v14)
],
products: [
.executable(name: "Bubomb", targets: ["BubombApp"]),
.executable(name: "BubombTests", targets: ["BubombTests"]),
.library(name: "BubombCore", targets: ["BubombCore"]),
.library(name: "BubombUI", targets: ["BubombUI"])
],
dependencies: [],
targets: [
.target(
name: "BubombCore",
dependencies: [],
path: "Sources/BubombCore"
),
.target(
name: "BubombUI",
dependencies: ["BubombCore"],
path: "Sources/BubombUI"
),
.executableTarget(
name: "BubombApp",
dependencies: ["BubombCore", "BubombUI"],
path: "Sources/BubombApp"
),
.executableTarget(
name: "BubombTests",
dependencies: ["BubombCore"],
path: "Tests/BubombCoreTests"
)
]
)
|