-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
34 lines (32 loc) · 913 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
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "CDSKit",
platforms: [
.iOS(.v13),
.macOS(.v10_15)
],
products: [
.library(
name: "CDSKit",
targets: ["CDSKit"]),
],
dependencies: [
.package(url: "https://github.com/SnapKit/SnapKit", .upToNextMajor(from: "5.0.1")),
],
targets: [
.target(
name: "CDSKit",
dependencies: [
.product(name: "SnapKit", package: "SnapKit", condition: .when(platforms: [.iOS]))
],
path: "CDSKit/Source",
resources: [
.process("Resource/Fonts"),
.process("Foundation/CDSIcon.xcassets")
]
)
],
swiftLanguageVersions: [.v5]
)