generated from Apodini/Template-Repository
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
50 lines (46 loc) · 1.67 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
47
48
49
50
// swift-tools-version:5.5
//
// This source file is part of the Apodini AnalystPresenter 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: "ApodiniAnalystPresenter",
platforms: [
.macOS(.v12)
],
products: [
.library(
name: "ApodiniAnalystPresenter",
targets: ["ApodiniAnalystPresenter"]
)
],
dependencies: [
.package(url: "https://github.com/Apodini/Apodini.git", .upToNextMinor(from: "0.6.1")),
.package(url: "https://github.com/Apodini/ApodiniAsyncHTTPClient.git", .upToNextMinor(from: "0.3.2")),
.package(url: "https://github.com/Apodini/Analyst.git", .upToNextMinor(from: "0.1.2")),
.package(url: "https://github.com/apple/swift-nio.git", from: "2.30.0")
],
targets: [
.target(
name: "ApodiniAnalystPresenter",
dependencies: [
.product(name: "Apodini", package: "Apodini"),
.product(name: "ApodiniAsyncHTTPClient", package: "ApodiniAsyncHTTPClient"),
.product(name: "AnalystPresenter", package: "Analyst"),
.product(name: "NIO", package: "swift-nio"),
.product(name: "PrometheusAnalyst", package: "Analyst"),
.product(name: "JaegerAnalyst", package: "Analyst")
]
),
.testTarget(
name: "ApodiniAnalystPresenterTests",
dependencies: [
.target(name: "ApodiniAnalystPresenter")
]
)
]
)