-
-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathPackage.swift
40 lines (38 loc) · 1.31 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
// swift-tools-version:5.2
import PackageDescription
let package = Package(
name: "TestSuites",
platforms: [
// This package doesn't work on macOS host, but should be able to be built for it
// for developing on Xcode. This minimum version requirement is to prevent availability
// errors for Concurrency API, whose runtime support is shipped from macOS 12.0
.macOS("12.0"),
],
products: [
.executable(
name: "PrimaryTests", targets: ["PrimaryTests"]
),
.executable(
name: "ConcurrencyTests", targets: ["ConcurrencyTests"]
),
.executable(
name: "BenchmarkTests", targets: ["BenchmarkTests"]
),
],
dependencies: [.package(name: "JavaScriptKit", path: "../../")],
targets: [
.target(name: "CHelpers"),
.target(name: "PrimaryTests", dependencies: [
.product(name: "JavaScriptBigIntSupport", package: "JavaScriptKit"),
"JavaScriptKit",
"CHelpers",
]),
.target(
name: "ConcurrencyTests",
dependencies: [
.product(name: "JavaScriptEventLoop", package: "JavaScriptKit"),
]
),
.target(name: "BenchmarkTests", dependencies: ["JavaScriptKit", "CHelpers"]),
]
)