-
Notifications
You must be signed in to change notification settings - Fork 3
/
Package.swift
32 lines (30 loc) · 1.13 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
// swift-tools-version:4.2
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "WeatherStationService",
products: [
.executable(name: "WeatherStationService", targets: ["WeatherStationService"]),
.library(name: "WeatherUDPProtocol", targets: ["WeatherUDPProtocol"]),
.library(name: "WeatherRESTClient", targets: ["WeatherRESTClient"])],
dependencies: [
.package(url: "https://github.com/apple/swift-package-manager.git", from: "0.3.0")
],
targets: [
.target(
name: "WeatherStationService",
dependencies: ["WeatherUDPProtocol", "WeatherRESTClient", "Utility"]),
.target(
name: "WeatherUDPProtocol",
dependencies: []),
.target(
name: "WeatherRESTClient",
dependencies: []),
.testTarget(
name: "WeatherUDPProtocolTests",
dependencies: ["WeatherUDPProtocol"]),
.testTarget(
name: "WeatherRESTClientTests",
dependencies: ["WeatherRESTClient"])
]
)