-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
43 lines (41 loc) · 1.26 KB
/
Copy pathPackage.swift
File metadata and controls
43 lines (41 loc) · 1.26 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
// swift-tools-version:6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "CornucopiaHTTP",
platforms: [
.iOS(.v18),
.macOS(.v14),
.tvOS(.v18),
.watchOS(.v11),
//.linux
],
products: [
.library(
name: "CornucopiaHTTP",
targets: ["CornucopiaHTTP"]),
],
dependencies: [
.package(url: "https://github.com/Cornucopia-Swift/CornucopiaCore", branch: "master"),
//.package(path: "../CornucopiaCore"),
.package(url: "https://github.com/tsolomko/SWCompression", from: "4.8.6"),
.package(url: "https://github.com/mickeyl/FoundationBandAid", branch: "master"),
],
targets: [
.target(
name: "CornucopiaHTTP",
dependencies: [
"CornucopiaCore",
"SWCompression",
.product(name: "FoundationBandAid", package: "FoundationBandAid", condition: .when(platforms: [.linux])),
]
),
.testTarget(
name: "CornucopiaHTTPTests",
dependencies: [
"CornucopiaHTTP",
]
),
],
swiftLanguageModes: [.v5]
)