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-02-17 02:43:13 +01:00
.package(name: "GRDB", url: "https://github.com/metabolist/GRDB.swift.git", .revision("186a111")),
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"])
]
)