mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-22 00:01:00 +00:00
29 lines
665 B
Swift
29 lines
665 B
Swift
// 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/metabolist/GRDB.swift.git", .revision("1becfa3")),
|
|
.package(path: "Mastodon"),
|
|
.package(path: "Secrets")
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "DB",
|
|
dependencies: ["GRDB", "Mastodon", "Secrets"]),
|
|
.testTarget(
|
|
name: "DBTests",
|
|
dependencies: ["DB"])
|
|
]
|
|
)
|