mirror of
https://github.com/apple/swift-log
synced 2026-11-24 03:47:49 +00:00
Motivation: Plugin is no longer required to produce docs. There are now warnings in the plugin when included and it will delay build a small amount. Modifications: Remove plugin dependency. Result: No dependencies.
40 lines
1.1 KiB
Swift
40 lines
1.1 KiB
Swift
// swift-tools-version:5.8
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This source file is part of the Swift Logging API open source project
|
|
//
|
|
// Copyright (c) 2018-2019 Apple Inc. and the Swift Logging API project authors
|
|
// Licensed under Apache License v2.0
|
|
//
|
|
// See LICENSE.txt for license information
|
|
// See CONTRIBUTORS.txt for the list of Swift Logging API project authors
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
import PackageDescription
|
|
|
|
let swiftSettings: [SwiftSetting] = [
|
|
.enableUpcomingFeature("ExistentialAny"),
|
|
]
|
|
|
|
let package = Package(
|
|
name: "swift-log",
|
|
products: [
|
|
.library(name: "Logging", targets: ["Logging"]),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "Logging",
|
|
dependencies: [],
|
|
swiftSettings: swiftSettings
|
|
),
|
|
.testTarget(
|
|
name: "LoggingTests",
|
|
dependencies: ["Logging"],
|
|
swiftSettings: swiftSettings
|
|
),
|
|
]
|
|
)
|