1
0
mirror of https://github.com/metabolist/metatext synced 2024-12-18 20:34:43 +01:00
metatext-app-ios-iphone-ipad/ServiceLayer/Package.swift
Justin Mazzocchi 2ca0dfe251
wip
2020-08-31 11:57:02 -07:00

36 lines
1.1 KiB
Swift

// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "ServiceLayer",
platforms: [
.iOS(.v14),
.macOS(.v11)
],
products: [
.library(
name: "ServiceLayer",
targets: ["ServiceLayer"]),
.library(
name: "ServiceLayerMocks",
targets: ["ServiceLayerMocks"])
],
dependencies: [
.package(url: "https://github.com/groue/CombineExpectations.git", .upToNextMajor(from: "0.5.0")),
.package(name: "GRDB", url: "https://github.com/groue/GRDB.swift.git", .upToNextMajor(from: "5.0.0-beta.10")),
.package(path: "Mastodon")
],
targets: [
.target(
name: "ServiceLayer",
dependencies: ["GRDB", "Mastodon"]),
.target(
name: "ServiceLayerMocks",
dependencies: ["ServiceLayer", .product(name: "MastodonStubs", package: "Mastodon")]),
.testTarget(
name: "ServiceLayerTests",
dependencies: ["CombineExpectations", "ServiceLayerMocks"])
]
)