-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
41 lines (40 loc) · 1.45 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
// swift-tools-version:6.0
import PackageDescription
let package = Package(
name: "tap-guard",
platforms: [
.macOS(.v10_15)
],
products: [
.library(
name: "TapGuard",
targets: ["TapGuard"]
),
],
dependencies: [
.package(url: "https://github.com/Akazm/allocated-unfair-lock", .upToNextMajor(from: "1.2.0")),
.package(url: "https://github.com/apple/swift-async-algorithms", .upToNextMajor(from: "1.0.0")),
.package(url: "https://github.com/apple/swift-atomics.git", .upToNextMajor(from: "1.2.0")),
.package(url: "https://github.com/pointfreeco/swift-concurrency-extras", .upToNextMajor(from: "1.3.0")),
.package(url: "https://github.com/nicklockwood/SwiftFormat", .upToNextMajor(from: "0.55.0")),
],
targets: [
.target(
name: "TapGuard",
dependencies: [
.product(name: "AllocatedUnfairLockShim", package: "allocated-unfair-lock"),
.product(name: "AsyncAlgorithms", package: "swift-async-algorithms"),
.product(name: "Atomics", package: "swift-atomics"),
.product(name: "ConcurrencyExtras", package: "swift-concurrency-extras")
],
path: "Sources/TapGuard"
),
.testTarget(
name: "TapGuardTests",
dependencies: [
"TapGuard"
],
path: "Sources/Tests"
)
]
)