forked from jamf/Haversack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
37 lines (35 loc) · 1.2 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
// swift-tools-version:5.9
// SPDX-License-Identifier: MIT
// Copyright 2023, Jamf
import PackageDescription
let package = Package(
name: "Haversack",
platforms: [
.macOS(.v10_13),
.iOS(.v12),
.tvOS(.v12),
.visionOS(.v1),
.watchOS(.v5)
],
products: [
.library(name: "Haversack", targets: ["Haversack"]),
.library(name: "HaversackCryptoKit", targets: ["HaversackCryptoKit"]),
.library(name: "HaversackMock", targets: ["HaversackMock"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-collections", from: "1.1.0"),
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.3.0")
],
targets: [
.target(name: "Haversack",
dependencies: [
.product(name: "OrderedCollections", package: "swift-collections")
],
resources: [.process("Resources/")]),
.target(name: "HaversackCryptoKit", dependencies: ["Haversack"]),
.target(name: "HaversackMock", dependencies: ["Haversack"]),
.testTarget(name: "HaversackTests",
dependencies: ["HaversackMock"],
resources: [.copy("TestResources/")])
]
)