forked from malcommac/SwiftDate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
27 lines (26 loc) · 849 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "SwiftDate",
platforms: [
.macOS(.v10_10), .iOS(.v15), .watchOS(.v2), .tvOS(.v9)
],
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(name: "SwiftDate", targets: ["SwiftDate"]),
.library(name: "SwiftDateStatic", type: .static, targets: ["SwiftDate"]),
.library(name: "SwiftDateDynamic", type: .dynamic, targets: ["SwiftDate"])
],
dependencies: [],
targets: [
.target(
name: "SwiftDate",
dependencies: [],
resources: [
.copy("Formatters/RelativeFormatter/langs")
]),
.testTarget(
name: "SwiftDateTests",
dependencies: ["SwiftDate"])
]
)