forked from Cocoanetics/DTCoreText
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
40 lines (38 loc) · 1.02 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "DTCoreText",
platforms: [
.iOS(.v9), //.v8 - .v13
.macOS(.v10_10), //.v10_10 - .v10_15
.tvOS(.v9), //.v9 - .v13
],
products: [
.library(
name: "DTCoreText",
// type: .dynamic,
targets: ["DTCoreText"])
],
dependencies: [
.package(url: "https://github.com/Cocoanetics/DTFoundation.git", from: "1.7.15"),
],
targets: [
.target(
name: "DTCoreText",
dependencies: [
.product(name: "DTFoundation", package: "DTFoundation"),
],
path: "Core",
exclude: ["DTCoreText-Info.plist", "DTCoreText-Prefix.pch"],
resources: [
.copy("Source/default.css")]
),
.testTarget(
name: "DTCoreTextTests",
dependencies: ["DTCoreText"],
path: "Test/Source",
resources: [
.copy("Resources")]
)
]
)