metatext/DB/Package.swift

30 lines
665 B
Swift
Raw Normal View History

2020-09-03 03:28:34 +00: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 01:43:13 +00:00
.package(name: "GRDB", url: "https://github.com/metabolist/GRDB.swift.git", .revision("186a111")),
2020-09-04 06:12:06 +00:00
.package(path: "Mastodon"),
.package(path: "Secrets")
2020-09-03 03:28:34 +00:00
],
targets: [
.target(
name: "DB",
2020-09-04 06:12:06 +00:00
dependencies: ["GRDB", "Mastodon", "Secrets"]),
2020-09-03 03:28:34 +00:00
.testTarget(
name: "DBTests",
dependencies: ["DB"])
]
)