-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
60 lines (53 loc) · 1.24 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
// swift-tools-version:5.3
import PackageDescription
/// Aurora framework for Swift.
let package = Package(
/// Aurora Framework
name: "Aurora",
/// Default localization
defaultLocalization: "en",
/// It is created for:
platforms: [
// MacOS Catelina (2019)
.macOS(.v10_15),
// iOS 13 (2019)
.iOS(.v13),
// tvOS 13 (2019)
.tvOS(.v13),
// WatchOS 6 (2019)
.watchOS(.v6)
],
/// It is a framework/library
products: [
.library(
name: "Aurora",
targets: ["Aurora"]
)
],
/// Hopefully this will never get bigger than 0
dependencies: [],
/// The targets are:
targets: [
.target(
name: "Aurora",
dependencies: [],
exclude: [
// If run from .xcodeproj this file is needed.
"NoSwiftPM.swift"
],
resources: [
.process("Resources")
]
),
.testTarget(
name: "AuroraTests",
dependencies: [
"Aurora"
],
exclude: [],
resources: [
.process("Resources")
]
)
]
)