swift-nio-extras/Package.swift
Johannes Weiß 51c2dfb37b require Swift 4.1 (#6)
Motivation:

As swift-nio-extras is new, we can require Swift 4.1 which will allow us
to CI less stuff and also won't compatibility stuff for 4.0 that nobody
uses anymore.

Modifications:

require Swift 4.1

Result:

shinier
2018-05-23 16:32:57 +01:00

35 lines
1.2 KiB
Swift

// swift-tools-version:4.1
//===----------------------------------------------------------------------===//
//
// This source file is part of the SwiftNIO open source project
//
// Copyright (c) 2017-2018 Apple Inc. and the SwiftNIO project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftNIO project authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//
import PackageDescription
var targets: [PackageDescription.Target] = [
.target(name: "NIOExtras", dependencies: ["NIO"]),
.target(name: "HTTPServerWithQuiescingDemo", dependencies: ["NIOExtras", "NIOHTTP1"]),
.testTarget(name: "NIOExtrasTests", dependencies: ["NIOExtras"]),
]
let package = Package(
name: "swift-nio-extras",
products: [
.executable(name: "HTTPServerWithQuiescingDemo", targets: ["HTTPServerWithQuiescingDemo"]),
.library(name: "NIOExtras", targets: ["NIOExtras"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "1.7.0"),
],
targets: targets
)