Skip to content

Commit

Permalink
Remove HummingbirdJobsRedis (#22)
Browse files Browse the repository at this point in the history
* Use hummingbird-jobs repo

* Fix Environment.shared

* Fix package.swift

* Remove Jobs as it is in its own package now

* Use humminbird 2.0.0-rc.1
  • Loading branch information
adam-fowler authored Jul 1, 2024
1 parent 8d21c48 commit 3895626
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 648 deletions.
15 changes: 1 addition & 14 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,20 @@ let package = Package(
platforms: [.macOS(.v14), .iOS(.v17), .tvOS(.v17)],
products: [
.library(name: "HummingbirdRedis", targets: ["HummingbirdRedis"]),
.library(name: "HummingbirdJobsRedis", targets: ["HummingbirdJobsRedis"]),
],
dependencies: [
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.0.0-beta.1"),
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.0.0-rc.1"),
.package(url: "https://github.com/swift-server/RediStack.git", from: "1.4.0"),
],
targets: [
.target(name: "HummingbirdRedis", dependencies: [
.product(name: "Hummingbird", package: "hummingbird"),
.product(name: "RediStack", package: "RediStack"),
]),
.target(name: "HummingbirdJobsRedis", dependencies: [
.byName(name: "HummingbirdRedis"),
.product(name: "Hummingbird", package: "hummingbird"),
.product(name: "HummingbirdJobs", package: "hummingbird"),
.product(name: "RediStack", package: "RediStack"),
]),
.testTarget(name: "HummingbirdRedisTests", dependencies: [
.byName(name: "HummingbirdRedis"),
.product(name: "Hummingbird", package: "hummingbird"),
.product(name: "HummingbirdTesting", package: "hummingbird"),
]),
.testTarget(name: "HummingbirdJobsRedisTests", dependencies: [
.byName(name: "HummingbirdJobsRedis"),
.product(name: "Hummingbird", package: "hummingbird"),
.product(name: "HummingbirdJobs", package: "hummingbird"),
.product(name: "HummingbirdTesting", package: "hummingbird"),
]),
]
)
52 changes: 0 additions & 52 deletions Sources/HummingbirdJobsRedis/Configuration.swift

This file was deleted.

253 changes: 0 additions & 253 deletions Sources/HummingbirdJobsRedis/RedisJobQueue.swift

This file was deleted.

Loading

0 comments on commit 3895626

Please sign in to comment.