-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Package.swift
34 lines (33 loc) · 948 Bytes
/
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
// swift-tools-version:5.8
import PackageDescription
let package = Package(
name: "swift-ast-explorer",
platforms: [
.macOS(.v13)
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", from: "4.106.3"),
.package(url: "https://github.com/vapor/leaf.git", from: "4.4.1"),
.package(url: "https://github.com/apple/swift-tools-support-core", from: "0.7.1"),
],
targets: [
.executableTarget(
name: "App",
dependencies: [
.product(name: "Vapor", package: "vapor"),
.product(name: "Leaf", package: "leaf"),
.product(name: "TSCBasic", package: "swift-tools-support-core"),
],
swiftSettings: [
.unsafeFlags(["-cross-module-optimization"], .when(configuration: .release))
]
),
.testTarget(
name: "AppTests",
dependencies: [
.target(name: "App"),
.product(name: "XCTVapor", package: "vapor"),
]
)
]
)