Skip to content

Commit e208929

Browse files
committed
Swift 5: Add Package\@swift-5.swift
Compile module against NIO 2 when Swift 5 is available.
1 parent 8de66b7 commit e208929

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

[email protected]

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// swift-tools-version:5.0
2+
3+
import PackageDescription
4+
5+
let package = Package(
6+
name: "swift-nio-redis",
7+
products: [
8+
.library(name: "NIORedis", targets: [ "NIORedis" ]),
9+
],
10+
dependencies: [
11+
.package(url: "https://github.com/apple/swift-nio.git",
12+
from: "2.0.0")
13+
],
14+
targets: [
15+
.target(name: "NIORedis",
16+
dependencies: [ "NIO", "NIOFoundationCompat" ]),
17+
.testTarget(name: "NIORedisTests", dependencies: [ "NIORedis"])
18+
]
19+
)

0 commit comments

Comments
 (0)