forked from vapor/leaf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
32 lines (29 loc) · 988 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
// swift-tools-version:5.4
import PackageDescription
let package = Package(
name: "leaf",
platforms: [
.macOS(.v10_15),
.iOS(.v13)
],
products: [
.library(name: "Leaf", targets: ["Leaf"]),
],
dependencies: [
.package(url: "https://github.com/vapor/leaf-kit.git", from: "1.10.0"),
.package(url: "https://github.com/vapor/vapor.git", from: "4.0.0"),
// Swift collection algorithms
.package(url: "https://github.com/apple/swift-algorithms.git", from: "1.0.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"),
]),
]
)