1
0
mirror of https://github.com/metabolist/metatext synced 2025-01-25 13:09:01 +01:00

42 lines
1.2 KiB
Swift
Raw Normal View History

2020-08-31 03:21:01 -07:00
// swift-tools-version:5.3
import PackageDescription
let package = Package(
2020-08-31 11:57:02 -07:00
name: "ServiceLayer",
2020-08-31 03:21:01 -07:00
platforms: [
.iOS(.v14),
.macOS(.v11)
],
products: [
.library(
2020-08-31 11:57:02 -07:00
name: "ServiceLayer",
targets: ["ServiceLayer"]),
2020-08-31 03:21:01 -07:00
.library(
2020-08-31 11:57:02 -07:00
name: "ServiceLayerMocks",
targets: ["ServiceLayerMocks"])
2020-08-31 03:21:01 -07:00
],
dependencies: [
.package(url: "https://github.com/groue/CombineExpectations.git", .upToNextMajor(from: "0.5.0")),
2020-09-06 21:56:18 -07:00
.package(path: "CodableBloomFilter"),
2020-09-02 20:28:34 -07:00
.package(path: "DB"),
2020-09-03 17:54:05 -07:00
.package(path: "Keychain"),
.package(path: "MastodonAPI"),
2020-09-03 17:54:05 -07:00
.package(path: "Secrets")
2020-08-31 03:21:01 -07:00
],
targets: [
.target(
2020-08-31 11:57:02 -07:00
name: "ServiceLayer",
2020-09-06 21:56:18 -07:00
dependencies: ["CodableBloomFilter", "DB", "MastodonAPI", "Secrets"]),
2020-08-31 03:21:01 -07:00
.target(
2020-08-31 11:57:02 -07:00
name: "ServiceLayerMocks",
2020-09-03 17:54:05 -07:00
dependencies: [
"ServiceLayer",
.product(name: "MastodonAPIStubs", package: "MastodonAPI"),
2020-09-03 17:54:05 -07:00
.product(name: "MockKeychain", package: "Keychain")]),
2020-08-31 03:21:01 -07:00
.testTarget(
2020-08-31 11:57:02 -07:00
name: "ServiceLayerTests",
dependencies: ["CombineExpectations", "ServiceLayerMocks"])
2020-08-31 03:21:01 -07:00
]
)