Package@swift-5.6.swift 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // swift-tools-version:5.6
  2. //===----------------------------------------------------------------------===//
  3. //
  4. // This source file is part of the Swift Logging API open source project
  5. //
  6. // Copyright (c) 2018-2019 Apple Inc. and the Swift Logging API project authors
  7. // Licensed under Apache License v2.0
  8. //
  9. // See LICENSE.txt for license information
  10. // See CONTRIBUTORS.txt for the list of Swift Logging API project authors
  11. //
  12. // SPDX-License-Identifier: Apache-2.0
  13. //
  14. //===----------------------------------------------------------------------===//
  15. import PackageDescription
  16. let package = Package(
  17. name: "swift-log",
  18. products: [
  19. .library(name: "Logging", targets: ["Logging"]),
  20. ],
  21. dependencies: [
  22. .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
  23. ],
  24. targets: [
  25. .target(
  26. name: "Logging",
  27. dependencies: []
  28. ),
  29. .testTarget(
  30. name: "LoggingTests",
  31. dependencies: ["Logging"]
  32. ),
  33. ]
  34. )