mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-27 05:04:24 +00:00
Motivation: Users shouldn't need a GitHub account to build the repository. Modifications: Use https:// for all git dependencies. Result: Happy users
36 lines
1.3 KiB
Swift
36 lines
1.3 KiB
Swift
// swift-tools-version:4.0
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// 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
|
|
|
|
let package = Package(
|
|
name: "swift-nio-ssl",
|
|
products: [
|
|
.library(name: "NIOOpenSSL", targets: ["NIOOpenSSL"]),
|
|
.executable(name: "NIOTLSServer", targets: ["NIOTLSServer"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/apple/swift-nio.git", from: "1.0.0"),
|
|
.package(url: "https://github.com/apple/swift-nio-ssl-support.git", from: "1.0.0"),
|
|
],
|
|
targets: [
|
|
.target(name: "CNIOOpenSSL"),
|
|
.target(name: "NIOOpenSSL",
|
|
dependencies: ["NIO", "NIOConcurrencyHelpers", "CNIOOpenSSL", "NIOTLS"]),
|
|
.target(name: "NIOTLSServer", dependencies: ["NIO", "NIOOpenSSL", "NIOConcurrencyHelpers"]),
|
|
.testTarget(name: "NIOOpenSSLTests", dependencies: ["NIOTLS", "NIOOpenSSL"]),
|
|
]
|
|
)
|