-
Notifications
You must be signed in to change notification settings - Fork 7
/
Package.swift
45 lines (42 loc) · 1.37 KB
/
Package.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
43
44
45
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "Everything",
platforms: [
.iOS(.v15),
.macOS(.v14),
.macCatalyst(.v15),
.tvOS(.v16),
],
products: [
.library(name: "Everything", targets: ["Everything"]),
.library(name: "EverythingHelpers", targets: ["EverythingHelpers"]),
.library(name: "EverythingUnsafeConformances", targets: ["EverythingUnsafeConformances"]),
],
dependencies: [
.package(url: "https://github.com/schwa/CoreGraphicsGeometrySupport", from: "0.1.0"),
.package(url: "https://github.com/apple/swift-algorithms", from: "1.0.0"),
],
targets: [
.target(
name: "Everything",
dependencies: [
"EverythingHelpers",
"CoreGraphicsGeometrySupport",
.product(name: "Algorithms", package: "swift-algorithms")
],
swiftSettings:
unsafeFlags()
),
.target(name: "EverythingHelpers"),
.target(name: "EverythingUnsafeConformances"),
.testTarget(name: "EverythingTests", dependencies: ["Everything"]),
]
)
func unsafeFlags() -> [PackageDescription.SwiftSetting] {
[
]
// return [
// .unsafeFlags(["-Xfrontend", "-warn-concurrency", "-Xfrontend", "-enable-actor-data-race-checks"])
// ]
}