-
Notifications
You must be signed in to change notification settings - Fork 2
/
Package.swift
38 lines (36 loc) · 1.04 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
33
34
35
36
37
38
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "D1Kit",
platforms: [.macOS(.v13), .iOS(.v13)],
products: [
.library(name: "D1Kit", targets: ["D1Kit"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-http-types.git", from: "1.3.0"),
],
targets: [
.target(
name: "D1Kit",
dependencies: [
.product(name: "HTTPTypes", package: "swift-http-types"),
.product(name: "HTTPTypesFoundation", package: "swift-http-types"),
]
),
.target(
name: "D1KitFoundation",
dependencies: [
.product(name: "HTTPTypes", package: "swift-http-types"),
.product(name: "HTTPTypesFoundation", package: "swift-http-types"),
"D1Kit",
]
),
.testTarget(
name: "D1KitTests",
dependencies: [
"D1Kit",
"D1KitFoundation",
]
),
]
)