forked from apple/pkl-swift-examples
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
34 lines (32 loc) · 997 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.9
import PackageDescription
let package = Package(
name: "pkl-swift-examples",
platforms: [
.macOS(.v13),
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", from: "4.89.0"),
.package(url: "https://github.com/apple/pkl-swift", from: "0.2.0"),
],
targets: [
.target(
name: "Gen",
dependencies: [.product(name: "PklSwift", package: "pkl-swift")]
),
.executableTarget(
name: "App",
dependencies: [
"Gen",
.product(name: "Vapor", package: "vapor"),
]
),
.testTarget(name: "AppTests", dependencies: [
"Gen",
.target(name: "App"),
.product(name: "XCTVapor", package: "vapor"),
// Workaround for https://github.com/apple/swift-package-manager/issues/6940
.product(name: "Vapor", package: "vapor"),
]),
]
)