This repository was archived by the owner on Feb 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathPackage.swift
35 lines (31 loc) · 1.72 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
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "DPDataStorage",
platforms: [
.iOS(.v9)
],
products: [
.library(name: "DataMapping", targets: ["DataMapping"]),
.library(name: "DataSource", targets: ["DataSource"]),
.library(name: "CellSizeCache", targets: ["CellSizeCache"]),
.library(name: "DataStorage", targets: ["DataStorage", "DataMapping", "DataSource"]),
.library(name: "DataMapping-Static", type: .static, targets: ["DataMapping"]),
.library(name: "DataSource-Static", type: .static, targets: ["DataSource"]),
.library(name: "CellSizeCache-Static", type: .static, targets: ["CellSizeCache"]),
.library(name: "DataStorage-Static", type: .static, targets: ["DataStorage", "DataMapping", "DataSource"]),
.library(name: "DataMapping-Dynamic", type: .dynamic, targets: ["DataMapping"]),
.library(name: "DataSource-Dynamic", type: .dynamic, targets: ["DataSource"]),
.library(name: "CellSizeCache-Dynamic", type: .dynamic, targets: ["CellSizeCache"]),
.library(name: "DataStorage-Dynamic", type: .dynamic, targets: ["DataStorage", "DataMapping", "DataSource"]),
],
dependencies: [],
targets: [
.target(name: "DataMapping", path: "DataMapping"),
.target(name: "DataSource", path: "DataSource"),
.target(name: "CellSizeCache", dependencies: ["DataSource"], path: "CellSizeCache"),
.target(name: "DataStorage", path: "DataStorage"),
.testTarget(name: "DataSourceTests", dependencies: ["DataSource"], path: "Tests/DataSource"),
.testTarget(name: "CellSizeCacheTests", dependencies: ["CellSizeCache"], path: "Tests/CellSizeCache"),
]
)