generated from Apodini/ApodiniTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
52 lines (50 loc) · 1.5 KB
/
Package.swift
File metadata and controls
52 lines (50 loc) · 1.5 KB
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
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "ApodiniLIFXExample",
platforms: [
.macOS(.v10_15)
],
products: [
.executable(
name: "ApodiniLIFXExample",
targets: ["ApodiniLIFXExample"]
)
],
dependencies: [
.package(
name: "Apodini",
url: "https://github.com/Apodini/Apodini.git",
.branch("develop")
),
.package(
name: "swift-nio-lifx",
url: "https://github.com/PSchmiedmayer/Swift-NIO-LIFX.git",
from: "0.1.1"
)
],
targets: [
.target(
name: "ApodiniLIFXExample",
dependencies: [
.product(name: "Apodini", package: "Apodini"),
.product(name: "ApodiniJobs", package: "Apodini"),
.product(name: "ApodiniREST", package: "Apodini"),
.product(name: "ApodiniOpenAPI", package: "Apodini"),
.target(name: "ApodiniLIFX")
]
),
.target(
name: "ApodiniLIFX",
dependencies: [
.product(name: "Apodini", package: "Apodini"),
.product(name: "NIOLIFX", package: "swift-nio-lifx")
]
),
.testTarget(
name: "ApodiniLIFXExampleTests",
dependencies: ["ApodiniLIFXExample"]
)
]
)