forked from vapor/leaf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
27 lines (26 loc) · 843 Bytes
/
Package.swift
File metadata and controls
27 lines (26 loc) · 843 Bytes
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
// swift-tools-version:5.2
import PackageDescription
let package = Package(
name: "leaf",
platforms: [
.macOS(.v10_15)
],
products: [
.library(name: "Leaf", targets: ["Leaf"]),
],
dependencies: [
.package(name: "leaf-kit", url: "https://github.com/SwiftySwifty/leaf-kit", from: "1.0.0-tau.2"),
.package(url: "https://github.com/vapor/vapor.git", from: "4.0.0"),
],
targets: [
.target(name: "Leaf", dependencies: [
.product(name: "LeafKit", package: "leaf-kit"),
.product(name: "Vapor", package: "vapor"),
]),
.testTarget(name: "LeafTests", dependencies: [
.target(name: "Leaf"),
.product(name: "XCTVapor", package: "vapor"),
.product(name: "XCTLeafKit", package: "leaf-kit")
]),
]
)