forked from Apodini/ApodiniIoTDeploymentProvider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
90 lines (86 loc) · 3.1 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
// 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: "DeploymentTargetIoT",
targets: ["DeploymentTargetIoT"]
),
.library(
name: "DeploymentTargetIoTRuntime",
targets: ["DeploymentTargetIoTRuntime"]
),
.library(
name: "LifxIoTDeploymentOption",
targets: ["LifxIoTDeploymentOption"]
),
.executable(
name: "LifxIoTDeploymentTarget",
targets: ["LifxIoTDeploymentTarget"]
)
],
dependencies: [
.package(url: "https://github.com/Apodini/Apodini.git", .upToNextMinor(from: "0.5.0")),
.package(name: "swift-device-discovery", url: "https://github.com/Apodini/SwiftDeviceDiscovery.git", .branch("master")),
.package(name: "swift-nio-lifx-impl", url: "https://github.com/Apodini/Swift-NIO-LIFX-Impl", .branch("develop")),
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "0.4.0"))
],
targets: [
.target(
name: "DeploymentTargetIoT",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "SwiftDeviceDiscovery", package: "swift-device-discovery"),
.target(name: "DeploymentTargetIoTCommon"),
.product(name: "ApodiniDeployBuildSupport", package: "Apodini"),
.product(name: "ApodiniUtils", package: "Apodini")
]
),
.target(
name: "DeploymentTargetIoTRuntime",
dependencies: [
.product(name: "ApodiniDeployRuntimeSupport", package: "Apodini"),
.target(name: "DeploymentTargetIoTCommon")
]
),
.target(
name: "DeploymentTargetIoTCommon",
dependencies: [
.product(name: "ApodiniDeployBuildSupport", package: "Apodini")
]
),
.executableTarget(
name: "LifxIoTDeploymentTarget",
dependencies: [
.target(name: "DeploymentTargetIoT"),
.target(name: "LifxIoTDeploymentOption"),
.target(name: "DeploymentTargetIoTCommon"),
.product(name: "LifxDiscoveryActions", package: "swift-nio-lifx-impl")
]
),
.target(
name: "LifxIoTDeploymentOption",
dependencies: [
.product(name: "ApodiniDeployBuildSupport", package: "Apodini"),
.target(name: "DeploymentTargetIoTCommon")
]
),
.testTarget(
name: "IoTDeploymentTests",
dependencies: [
.target(name: "DeploymentTargetIoT")
]
)
]
)