-
Notifications
You must be signed in to change notification settings - Fork 2
/
Project.swift
42 lines (41 loc) · 1.2 KB
/
Project.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
import ProjectDescription
let project = Project(name: "Command", targets: [
.target(
name: "Command",
destinations: .macOS,
product: .staticFramework,
bundleId: "io.tuist.Command",
deploymentTargets: .macOS("13.0"),
sources: [
"Sources/Command/**/*.swift",
],
dependencies: [
.external(name: "Logging"),
.external(name: "Path"),
.external(name: "Mockable"),
],
settings: .settings(
base: ["SWIFT_STRICT_CONCURRENCY": "complete"],
configurations: [
.debug(name: .debug, settings: [
"SWIFT_ACTIVE_COMPILATION_CONDITIONS": "$(inherited) MOCKING",
]),
.release(name: .release, settings: [:]),
]
)
),
.target(
name: "CommandTests",
destinations: .macOS,
product: .unitTests,
bundleId: "io.tuist.CommandTests",
deploymentTargets: .macOS("13.0"),
sources: [
"Tests/CommandTests/**/*.swift",
],
dependencies: [
.target(name: "Command"),
.external(name: "Mockable"),
]
),
])