-
Notifications
You must be signed in to change notification settings - Fork 12
/
Package.swift
53 lines (51 loc) · 1.43 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
46
47
48
49
50
51
52
53
// swift-tools-version: 5.10
import PackageDescription
let package = Package(
name: "SwiftTypeInference",
platforms: [
.macOS(.v10_15),
.iOS(.v13),
],
dependencies: [
.package(url: "https://github.com/apple/swift-syntax.git", exact: "510.0.1"),
],
targets: [
.target(
name: "SwiftcBasic",
dependencies: []
),
.target(
name: "SwiftcType",
dependencies: ["SwiftcBasic"]
),
.target(
name: "SwiftcAST",
dependencies: [
.product(name: "SwiftSyntax", package: "swift-syntax"),
.product(name: "SwiftParser", package: "swift-syntax"),
"SwiftcBasic",
"SwiftcType"
]
),
.target(
name: "SwiftcSema",
dependencies: ["SwiftcBasic", "SwiftcType", "SwiftcAST"]
),
.target(
name: "SwiftcTest",
dependencies: ["SwiftcBasic", "SwiftcType", "SwiftcAST", "SwiftcSema"]
),
.target(
name: "SwiftCompiler",
dependencies: ["SwiftcAST", "SwiftcSema"]
),
.executableTarget(
name: "swsc",
dependencies: ["SwiftcAST", "SwiftcSema"]
),
.testTarget(
name: "SwiftTypeInferenceTests",
dependencies: ["SwiftcTest", "SwiftcAST", "SwiftcSema"]
)
]
)