-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
102 lines (93 loc) · 3.26 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
// swift-tools-version: 5.8
//=----------------------------------------------------------------------------=
// This source file is part of the AwesomeNumbersKit open source project.
//
// Copyright (c) 2022 Oscar Byström Ericsson
// Licensed under Apache License, Version 2.0
//
// See http://www.apache.org/licenses/LICENSE-2.0 for license information.
//=----------------------------------------------------------------------------=
import PackageDescription
//*============================================================================*
// MARK: * Awesome Numbers Kit
//*============================================================================*
let package = Package(
name: "AwesomeNumbersKit",
platforms: [
.iOS("16.4"),
.macCatalyst("16.4"),
.macOS("13.3"),
.tvOS("16.4"),
.watchOS("9.4"),
],
products: [
//=--------------------------------------=
// ANK
//=--------------------------------------=
.library(
name: "AwesomeNumbersKit",
targets: ["AwesomeNumbersKit"]),
//=--------------------------------------=
// ANK x Core Kit
//=--------------------------------------=
.library(
name: "ANKCoreKit",
targets: ["ANKCoreKit"]),
//=--------------------------------------=
// ANK x Full Width Kit
//=--------------------------------------=
.library(
name: "ANKFullWidthKit",
targets: ["ANKFullWidthKit"]),
//=--------------------------------------=
// ANK x Signed Kit
//=--------------------------------------=
.library(
name: "ANKSignedKit",
targets: ["ANKSignedKit"]),
],
targets: [
//=--------------------------------------=
// ANK
//=--------------------------------------=
.target(
name: "AwesomeNumbersKit",
dependencies: ["ANKCoreKit", "ANKFullWidthKit", "ANKSignedKit"]),
//=--------------------------------------=
// ANK x Core Kit
//=--------------------------------------=
.target(
name: "ANKCoreKit",
dependencies: []),
.testTarget(
name: "ANKCoreKitTests",
dependencies: ["ANKCoreKit"]),
.testTarget(
name: "ANKCoreKitBenchmarks",
dependencies: ["ANKCoreKit"]),
//=--------------------------------------=
// ANK x Full Width Kit
//=--------------------------------------=
.target(
name: "ANKFullWidthKit",
dependencies: ["ANKCoreKit"]),
.testTarget(
name: "ANKFullWidthKitTests",
dependencies: ["ANKFullWidthKit"]),
.testTarget(
name: "ANKFullWidthKitBenchmarks",
dependencies: ["ANKFullWidthKit"]),
//=--------------------------------------=
// ANK x Signed Kit
//=--------------------------------------=
.target(
name: "ANKSignedKit",
dependencies: ["ANKCoreKit"]),
.testTarget(
name: "ANKSignedKitTests",
dependencies: ["ANKFullWidthKit", "ANKSignedKit"]),
.testTarget(
name: "ANKSignedKitBenchmarks",
dependencies: ["ANKFullWidthKit", "ANKSignedKit"]),
]
)