forked from MatthewYork/DateTools
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Package.swift
39 lines (37 loc) · 975 Bytes
/
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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "DateToolsSwift",
platforms: [
.macOS(.v10_10), .iOS(.v8), .tvOS(.v9), .watchOS(.v2)
],
products: [
.library(
name: "DateToolsSwift",
targets: ["DateToolsSwift"])
],
targets: [
.target(
name: "DateToolsSwift",
path: "DateToolsSwift/DateTools",
exclude: [
"Examples",
"DateToolsSwift/Examples"
],
resources: [
.copy("DateTools.bundle")
]
),
.testTarget(
name: "DateToolsSwiftTests",
dependencies: ["DateToolsSwift"],
path: "DateToolsSwift/Tests/DateToolsTests/DateToolsTestsTests",
exclude: [
"Info.plist"
],
resources: [
.copy("DateTools.bundle")
]
)
]
)