-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
33 lines (31 loc) · 1.09 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "swift-jobs-postgres",
platforms: [.macOS(.v14), .iOS(.v17), .tvOS(.v17)],
products: [
.library(name: "JobsPostgres", targets: ["JobsPostgres"])
],
dependencies: [
// TODO: use a released version of swift-jobs
.package(url: "https://github.com/hummingbird-project/swift-jobs.git", branch: "main"),
.package(url: "https://github.com/hummingbird-project/hummingbird-postgres.git", from: "0.6.0"),
.package(url: "https://github.com/vapor/postgres-nio.git", from: "1.25.0"),
],
targets: [
.target(
name: "JobsPostgres",
dependencies: [
.product(name: "PostgresMigrations", package: "hummingbird-postgres"),
.product(name: "Jobs", package: "swift-jobs"),
.product(name: "PostgresNIO", package: "postgres-nio"),
]
),
.testTarget(
name: "JobsPostgresTests",
dependencies: [
"JobsPostgres"
]
),
]
)