1
0
mirror of https://github.com/metabolist/metatext synced 2024-12-29 03:01:07 +01:00
metatext-app-ios-iphone-ipad/ViewModels/Package.swift

35 lines
959 B
Swift
Raw Normal View History

2020-09-01 09:33:49 +02:00
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "ViewModels",
platforms: [
.iOS(.v14),
.macOS(.v11)
],
products: [
.library(
name: "ViewModels",
targets: ["ViewModels"]),
.library(
name: "PreviewViewModels",
targets: ["PreviewViewModels"])
],
dependencies: [
2021-01-29 00:50:24 +01:00
.package(url: "https://github.com/groue/CombineExpectations.git", .upToNextMajor(from: "0.7.0")),
2020-09-01 09:33:49 +02:00
.package(path: "ServiceLayer")
],
targets: [
.target(
name: "ViewModels",
dependencies: ["ServiceLayer"]),
.target(
name: "PreviewViewModels",
dependencies: ["ViewModels", .product(name: "ServiceLayerMocks", package: "ServiceLayer")]),
.testTarget(
name: "ViewModelsTests",
dependencies: ["CombineExpectations", "PreviewViewModels"])
]
)