forked from StanfordSpezi/SpeziAccount
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
54 lines (50 loc) · 1.88 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
// swift-tools-version:5.9
//
// This source file is part of the Spezi open source project
//
// SPDX-FileCopyrightText: 2023 Stanford University and the project authors (see CONTRIBUTORS.md)
//
// SPDX-License-Identifier: MIT
//
import PackageDescription
let package = Package(
name: "SpeziAccount",
defaultLocalization: "en",
platforms: [
.iOS(.v17)
],
products: [
.library(name: "SpeziAccount", targets: ["SpeziAccount"])
],
dependencies: [
.package(url: "https://github.com/StanfordSpezi/SpeziFoundation.git", from: "1.0.0"),
.package(url: "https://github.com/StanfordSpezi/Spezi", from: "1.2.0"),
.package(url: "https://github.com/StanfordSpezi/SpeziViews", from: "1.3.0"),
.package(url: "https://github.com/StanfordBDHG/XCTRuntimeAssertions", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-collections.git", from: "1.0.4")
],
targets: [
.target(
name: "SpeziAccount",
dependencies: [
.product(name: "SpeziFoundation", package: "SpeziFoundation"),
.product(name: "Spezi", package: "Spezi"),
.product(name: "SpeziViews", package: "SpeziViews"),
.product(name: "SpeziPersonalInfo", package: "SpeziViews"),
.product(name: "SpeziValidation", package: "SpeziViews"),
.product(name: "XCTRuntimeAssertions", package: "XCTRuntimeAssertions"),
.product(name: "OrderedCollections", package: "swift-collections")
],
resources: [
.process("Resources")
]
),
.testTarget(
name: "SpeziAccountTests",
dependencies: [
.target(name: "SpeziAccount"),
.product(name: "XCTRuntimeAssertions", package: "XCTRuntimeAssertions")
]
)
]
)