Package.swift 648 B

12345678910111213141516171819202122232425
  1. // swift-tools-version:5.3
  2. // The swift-tools-version declares the minimum version of Swift required to build this package.
  3. import PackageDescription
  4. let package = Package(
  5. name: "Reachability",
  6. products: [
  7. .library(
  8. name: "Reachability",
  9. targets: ["Reachability"]),
  10. ],
  11. targets: [
  12. .target(
  13. name: "Reachability",
  14. dependencies: [],
  15. path: "Sources",
  16. resources: [.copy("PrivacyInfo.xcprivacy")]
  17. ),
  18. .testTarget(
  19. name: "ReachabilityTests",
  20. dependencies: ["Reachability"],
  21. path: "Tests"),
  22. ]
  23. )