-
Notifications
You must be signed in to change notification settings - Fork 5
/
Package.swift
32 lines (25 loc) · 950 Bytes
/
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:5.5
import PackageDescription
let package = Package(
name: "OSCCore",
products: [
.library(name: "OSCCore", targets: ["OSCCore"]),
.executable(name: "BasicListener", targets: ["BasicListener"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio", from: "2.0.0")
],
targets: [
.target(name: "OSCCore", dependencies: [
.product(name: "NIO", package: "swift-nio")
]),
.executableTarget(name: "BasicListener",
dependencies: ["OSCCore"],
path: "Examples/BasicListener",
exclude: ["README.md"]),
.executableTarget(name: "SoundColliderClient",
dependencies: ["OSCCore"],
path: "Examples/SoundColliderClient"),
.testTarget(name: "OSCCoreTests", dependencies: ["OSCCore"])
]
)