-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
50 lines (48 loc) · 1.66 KB
/
Package.swift
File metadata and controls
50 lines (48 loc) · 1.66 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
// 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: "javascript-core-extras",
platforms: [
.macOS(.v10_15),
.iOS(.v13),
.tvOS(.v13),
.macCatalyst(.v13),
.visionOS(.v1)
],
products: [
.library(name: "JavaScriptCoreExtras", targets: ["JavaScriptCoreExtras"])
],
dependencies: [
.package(url: "https://github.com/pointfreeco/swift-clocks", .upToNextMajor(from: "1.0.4")),
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing", from: "1.17.6"),
.package(
url: "https://github.com/pointfreeco/xctest-dynamic-overlay",
.upToNextMajor(from: "1.2.2")
),
.package(url: "https://github.com/pointfreeco/swift-custom-dump", from: "1.3.3")
],
targets: [
.target(
name: "JavaScriptCoreExtras",
dependencies: [
"_CJavaScriptCoreExtras",
.product(name: "IssueReporting", package: "xctest-dynamic-overlay")
],
resources: [.process("js"), .process("PrivacyInfo.xcprivacy")]
),
.testTarget(
name: "JavaScriptCoreExtrasTests",
dependencies: [
"JavaScriptCoreExtras",
.product(name: "Clocks", package: "swift-clocks"),
.product(name: "SnapshotTesting", package: "swift-snapshot-testing"),
.product(name: "IssueReporting", package: "xctest-dynamic-overlay"),
.product(name: "IssueReportingTestSupport", package: "xctest-dynamic-overlay"),
.product(name: "CustomDump", package: "swift-custom-dump")
]
),
.target(name: "_CJavaScriptCoreExtras")
],
swiftLanguageModes: [.v6]
)