-
-
Notifications
You must be signed in to change notification settings - Fork 81
/
Package.swift
31 lines (30 loc) · 979 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
// swift-tools-version:5.8
import PackageDescription
let package = Package(
name: "leaf",
platforms: [
.macOS(.v10_15),
.iOS(.v13),
.tvOS(.v13),
.watchOS(.v6)
],
products: [
.library(name: "Leaf", targets: ["Leaf"]),
],
dependencies: [
.package(url: "https://github.com/vapor/leaf-kit.git", from: "1.11.0"),
.package(url: "https://github.com/vapor/vapor.git", from: "4.102.1"),
.package(url: "https://github.com/apple/swift-algorithms.git", from: "1.2.0"),
],
targets: [
.target(name: "Leaf", dependencies: [
.product(name: "LeafKit", package: "leaf-kit"),
.product(name: "Vapor", package: "vapor"),
.product(name: "Algorithms", package: "swift-algorithms")
]),
.testTarget(name: "LeafTests", dependencies: [
.target(name: "Leaf"),
.product(name: "XCTVapor", package: "vapor"),
]),
]
)