-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
51 lines (49 loc) · 1.43 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
// swift-tools-version: 5.8
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "LayoutKit",
products: [
.library(
name: "LayoutKit",
targets: ["LayoutKit"]),
.library(
name: "AutoLayoutKit",
targets: ["AutoLayoutKit"]),
.library(
name: "FlexLayoutKit",
targets: ["FlexLayoutKit"]),
],
dependencies: [
.package(url: "https://github.com/undevts/CoreSwift.git", from: "0.1.3"),
],
targets: [
.target(
name: "LayoutKit",
dependencies: [
"AutoLayoutKit",
"FlexLayoutKit",
]),
.target(
name: "AutoLayoutKit",
dependencies: [
.product(name: "CoreSwift", package: "CoreSwift"),
]),
.target(
name: "FlexLayoutCore",
dependencies: [
.product(name: "CoreCxx", package: "CoreSwift"),
]),
.target(
name: "FlexLayoutKit",
dependencies: [
"FlexLayoutCore",
.product(name: "CoreSwift", package: "CoreSwift"),
],
exclude: ["FlexLayout+Gen.swift.gyb"]
),
.testTarget(
name: "LayoutKitTests",
dependencies: ["LayoutKit"]),
]
)