Skip to content

Commit

Permalink
Merge pull request #4 from hummingbird-project/job-queue
Browse files Browse the repository at this point in the history
Postgres Job queue
  • Loading branch information
adam-fowler authored Feb 22, 2024
2 parents 9ecb27e + c13c21e commit df07554
Show file tree
Hide file tree
Showing 8 changed files with 722 additions and 206 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
# file: info.lcov
linux:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
image:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ DerivedData/
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
.vscode
Package.resolved
194 changes: 0 additions & 194 deletions Package.resolved

This file was deleted.

11 changes: 10 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let package = Package(
.library(name: "HummingbirdPostgres", targets: ["HummingbirdPostgres"]),
],
dependencies: [
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.0.0-alpha.2"),
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.0.0-alpha.3"),
.package(url: "https://github.com/vapor/postgres-nio", from: "1.20.0"),
],
targets: [
Expand All @@ -21,10 +21,19 @@ let package = Package(
.product(name: "PostgresNIO", package: "postgres-nio"),
]
),
.target(
name: "HummingbirdJobsPostgres",
dependencies: [
"HummingbirdPostgres",
.product(name: "HummingbirdJobs", package: "hummingbird"),
.product(name: "PostgresNIO", package: "postgres-nio"),
]
),
.testTarget(
name: "HummingbirdPostgresTests",
dependencies: [
"HummingbirdPostgres",
"HummingbirdJobsPostgres",
.product(name: "HummingbirdXCT", package: "hummingbird"),
]
),
Expand Down
Loading

0 comments on commit df07554

Please sign in to comment.