metatext-app-ios-iphone-ipad/DB/Package.swift

30 lines
665 B
Swift
Raw Normal View History

2020-09-03 05:28:34 +02:00
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "DB",
platforms: [
.iOS(.v14),
.macOS(.v11)
],
products: [
.library(
name: "DB",
targets: ["DB"])
],
dependencies: [
2021-01-10 02:38:00 +01:00
.package(name: "GRDB", url: "https://github.com/metabolist/GRDB.swift.git", .revision("bce80cb")),
2020-09-04 08:12:06 +02:00
.package(path: "Mastodon"),
.package(path: "Secrets")
2020-09-03 05:28:34 +02:00
],
targets: [
.target(
name: "DB",
2020-09-04 08:12:06 +02:00
dependencies: ["GRDB", "Mastodon", "Secrets"]),
2020-09-03 05:28:34 +02:00
.testTarget(
name: "DBTests",
dependencies: ["DB"])
]
)