generated from Apodini/Template-Repository
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
46 lines (41 loc) · 1.21 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
// swift-tools-version:5.5
//
// This source file is part of the Apodini Leaf open source project
//
// SPDX-FileCopyrightText: 2021 Paul Schmiedmayer and the project authors (see CONTRIBUTORS.md) <[email protected]>
//
// SPDX-License-Identifier: MIT
//
import PackageDescription
let package = Package(
name: "ApodiniLeaf",
platforms: [
.macOS(.v11)
],
products: [
.library(name: "ApodiniLeaf", targets: ["ApodiniLeaf"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
.package(url: "https://github.com/Apodini/Apodini.git", .upToNextMinor(from: "0.9.1")),
.package(url: "https://github.com/vapor/leaf-kit.git", from: "1.4.0")
],
targets: [
.target(
name: "ApodiniLeaf",
dependencies: [
.product(name: "Apodini", package: "Apodini"),
.product(name: "LeafKit", package: "leaf-kit")
]
),
.testTarget(
name: "ApodiniLeafTests",
dependencies: [
.target(name: "ApodiniLeaf")
],
resources: [
.process("Resources")
]
)
]
)