-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
79 lines (74 loc) · 2.17 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// 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: "swift-essentials-nfc",
platforms: [
.macOS("13.3"),
.iOS("16.4"),
],
products: [
.library(name: "EssentialsNFC", targets: ["EssentialsNFC"]),
.library(name: "NDEF", targets: ["NDEF"]),
.library(name: "TLV", targets: ["TLV"]),
.library(name: "ISO7816", targets: ["ISO7816"]),
],
dependencies: [
.package(
url: "https://github.com/apple/swift-log.git",
.upToNextMajor(from: "1.6.1")
),
.package(
url: "https://github.com/unistash-io/swift-essentials.git",
.upToNextMajor(from: "0.0.1")
),
],
targets: [
.target(
name: "EssentialsNFC",
dependencies: [
"TLV",
"NDEF",
"ISO7816",
],
path: "Sources/EssentialsNFC"
),
.target(
name: "TLV",
dependencies: [
.product(name: "Essentials", package: "swift-essentials"),
.product(name: "Logging", package: "swift-log"),
],
path: "Sources/TLV"
),
.testTarget(
name: "TLVTests",
dependencies: ["TLV"],
path: "Tests/TLVTests"
),
.target(
name: "NDEF",
dependencies: [
.product(name: "Essentials", package: "swift-essentials"),
.product(name: "Logging", package: "swift-log"),
],
path: "Sources/NDEF"
),
.testTarget(
name: "NDEFTests",
dependencies: [
"NDEF",
"TLV",
.product(name: "Essentials", package: "swift-essentials"),
],
path: "Tests/NDEFTests"
),
.target(
name: "ISO7816",
dependencies: [
.product(name: "Essentials", package: "swift-essentials"),
],
path: "Sources/ISO7816"
),
]
)