generated from Apodini/ApodiniTemplate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
69 lines (65 loc) · 2.26 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// swift-tools-version:5.5
//
// This source file is part of the Apodini Template 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: "ApodiniIoTDeploymentProvider",
platforms: [
.macOS(.v12)
],
products: [
.library(
name: "IoTDeploymentProvider",
targets: ["IoTDeploymentProvider"]
),
.library(
name: "IoTDeploymentProviderRuntime",
targets: ["IoTDeploymentProviderRuntime"]
),
.library(
name: "IoTDeploymentProviderCommon",
targets: ["IoTDeploymentProviderCommon"]
)
],
dependencies: [
.package(url: "https://github.com/Apodini/Apodini.git", .upToNextMinor(from: "0.9.2")),
.package(url: "https://github.com/Apodini/SwiftDeviceDiscovery.git", .upToNextMinor(from: "0.1.3")),
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "0.4.0"))
],
targets: [
.target(
name: "IoTDeploymentProvider",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "SwiftDeviceDiscovery", package: "SwiftDeviceDiscovery"),
.target(name: "IoTDeploymentProviderCommon"),
.product(name: "ApodiniDeployerBuildSupport", package: "Apodini"),
.product(name: "ApodiniUtils", package: "Apodini")
]
),
.target(
name: "IoTDeploymentProviderRuntime",
dependencies: [
.product(name: "ApodiniDeployerRuntimeSupport", package: "Apodini"),
.target(name: "IoTDeploymentProviderCommon")
]
),
.target(
name: "IoTDeploymentProviderCommon",
dependencies: [
.product(name: "ApodiniDeployerBuildSupport", package: "Apodini")
]
),
.testTarget(
name: "IoTDeploymentProviderTests",
dependencies: [
.target(name: "IoTDeploymentProvider")
]
)
]
)