-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
96 lines (94 loc) · 3.33 KB
/
Package.swift
File metadata and controls
96 lines (94 loc) · 3.33 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "ExperimentsEverything",
platforms: [.iOS(.v13), .macOS(.v10_15)],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.executable(name: "KVC", targets: ["KVC"]),
.executable(name: "JSONEncoder", targets: ["JSONEncoder"]),
.executable(name: "MemoryLayout", targets: ["MemoryLayout"]),
.executable(name: "InterOperateWithC", targets: ["InterOperateWithC"]),
.executable(name: "TypeCast", targets: ["TypeCast"]),
.executable(name: "ConsumeBorrowing", targets: ["ConsumeBorrowing"]),
.executable(name: "ParameterPack", targets: ["ParameterPack"]),
.executable(name: "AsyncStreamFoundation", targets: ["AsyncStreamFoundation"]),
.executable(name: "ResultBuilder", targets: ["ResultBuilder"]),
.executable(name: "PoundDirectiveKeyword", targets: ["PoundDirectiveKeyword"]),
.executable(name: "DateTime", targets: ["DateTime"]),
.library(name: "core", targets: ["core"])
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.executableTarget(
name: "KVC",
path: "Sources/KeyValueCoding(KVC)/"
),
.executableTarget(
name: "JSONEncoder",
path: "Sources/JSONEncoder/"
),
.executableTarget(
name: "MemoryLayout",
path: "Sources/MemoryLayout/"
),
.executableTarget(
name: "InterOperateWithC",
dependencies: ["core"],
path: "Sources/InterOperateWithC/"
),
.executableTarget(
name: "TypeCast",
path: "Sources/TypeCast/"
),
.executableTarget(
name: "ConsumeBorrowing",
path: "Sources/ConsumeBorrowing/"
),
.executableTarget(
name: "ParameterPack",
path: "Sources/ParameterPack/"
),
.executableTarget(
name: "AsyncStreamFoundation",
path: "Sources/AsyncStreamFoundation/"
),
.executableTarget(
name: "ResultBuilder",
path: "Sources/ResultBuilder/"
),
.executableTarget(
name: "PoundDirectiveKeyword",
path: "Sources/PoundDirectiveKeyword/"
),
.executableTarget(
name: "DateTime",
path: "Sources/DateTime/"
),
.target(
name: "core",
path: "Sources/core"
),
.target(
name: "corecpp",
path: "Sources/corecpp"
),
.executableTarget(
name: "Actor",
path: "Sources/Actor",
swiftSettings: [
.enableUpcomingFeature("StrictConcurrency")
]
),
.executableTarget(
name: "TypedThrow",
path: "Sources/TypedThrow",
swiftSettings: [
.enableUpcomingFeature("StrictConcurrency")
]
)
],
// swiftLanguageModes: [.v5]
)