metatext/DB/Package.swift

29 lines
631 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: [
.package(name: "GRDB", url: "https://github.com/groue/GRDB.swift.git", .upToNextMajor(from: "5.0.0-beta.10")),
.package(path: "Mastodon")
],
targets: [
.target(
name: "DB",
dependencies: ["GRDB", "Mastodon"]),
.testTarget(
name: "DBTests",
dependencies: ["DB"])
]
)