-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
70 lines (67 loc) · 1.68 KB
/
Copy pathPackage.swift
File metadata and controls
70 lines (67 loc) · 1.68 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
63
64
65
66
67
68
69
70
// swift-tools-version: 6.2
//
// SwiftChessTools provides reusable chess rules, notation, UCI helpers, and SwiftUI board UI.
//
// See NOTICE.md for upstream attribution and license details.
//
// Licensed under the MIT License.
// You may obtain a copy of the License at: https://opensource.org/licenses/MIT
// See the LICENSE file for more information.
//
import PackageDescription
let package = Package(
name: "SwiftChessTools",
platforms: [
.iOS(.v26),
.macOS(.v26),
],
products: [
.library(
name: "ChessCore",
targets: ["ChessCore"]
),
.library(
name: "ChessUI",
targets: ["ChessUI"]
),
.library(
name: "ChessUCI",
targets: ["ChessUCI"]
),
],
targets: [
.target(
name: "ChessCore"
),
.target(
name: "ChessUI",
dependencies: ["ChessCore"],
resources: [
.process("Assets/Pieces.xcassets"),
]
),
.target(
name: "ChessUCI",
dependencies: ["ChessCore"]
),
.testTarget(
name: "ChessCoreTests",
dependencies: ["ChessCore"],
exclude: [
"Fixtures/PGN/README.md",
]
),
.testTarget(
name: "ChessUITests",
dependencies: ["ChessCore", "ChessUI"],
resources: [
.process("SnapshotReferences"),
]
),
.testTarget(
name: "ChessUCITests",
dependencies: ["ChessCore", "ChessUCI"]
),
],
swiftLanguageModes: [.v5, .v6]
)