Package@swift-5.1.swift 918 B

123456789101112131415161718192021222324252627282930313233
  1. // swift-tools-version:5.1
  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. targets: [
  22. .target(
  23. name: "Logging",
  24. dependencies: []
  25. ),
  26. .testTarget(
  27. name: "LoggingTests",
  28. dependencies: ["Logging"]
  29. ),
  30. ]
  31. )