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: [
|
2022-11-08 04:32:34 +01:00
|
|
|
.package(name: "GRDB", url: "https://github.com/metabolist/GRDB.swift.git", .revision("a6ff285")),
|
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"])
|
|
|
|
]
|
|
|
|
)
|