-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathPackage.swift
More file actions
44 lines (42 loc) · 1.18 KB
/
Package.swift
File metadata and controls
44 lines (42 loc) · 1.18 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
// swift-tools-version: 5.10
import PackageDescription
let package = Package(
name: "CornucopiaStreams",
platforms: [
.macOS(.v13),
.macCatalyst(.v16),
.iOS(.v16),
.tvOS(.v16),
.watchOS(.v9),
// Linux
],
products: [
.library(name: "CornucopiaStreams", targets: ["CornucopiaStreams"]),
],
dependencies: [
// for the library
.package(url: "https://github.com/Cornucopia-Swift/CornucopiaCore", branch: "master"),
// for the executable
.package(url: "https://github.com/andybest/linenoise-swift", branch: "master"),
],
targets: [
.target(name: "CSocketHelper"),
.target(
name: "CornucopiaStreams",
dependencies: [
"CSocketHelper",
"CornucopiaCore",
]
),
.executableTarget(
name: "streamer",
dependencies: [
"CornucopiaStreams",
.product(name: "LineNoise", package: "linenoise-swift"),
]
),
.testTarget(
name: "CornucopiaStreamsTests",
dependencies: ["CornucopiaStreams"]),
]
)