Files
RediStack/Package.swift
T
Nathan Harris dfbccf4c07 Rename package to match repo
Motivation:

SE-0226 changes how SPM resolves a dependency graph and as part of the accepted proposal was to require package names to match their repo URL segments.

Modifications:

Change package from `redis-nio` to `swift-redis-nio-client`

Result:

The project should compliant with SE-0226: https://github.com/apple/swift-evolution/blob/master/proposals/0226-package-manager-target-based-dep-resolution.md
2019-06-06 15:10:59 -07:00

33 lines
1.1 KiB
Swift

// swift-tools-version:5.0
//===----------------------------------------------------------------------===//
//
// This source file is part of the RedisNIO open source project
//
// Copyright (c) 2019 RedisNIO project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of RedisNIO project authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//
import PackageDescription
let package = Package(
name: "swift-redis-nio-client",
products: [
.library(name: "RedisNIO", targets: ["RedisNIO"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-metrics.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-nio.git", from: "2.0.0")
],
targets: [
.target(name: "RedisNIO", dependencies: ["NIO", "Logging", "Metrics"]),
.testTarget(name: "RedisNIOTests", dependencies: ["RedisNIO", "NIO"])
]
)