Package.swift 1.0 KB

123456789101112131415161718192021222324252627
  1. // swift-tools-version:5.0
  2. import PackageDescription
  3. let package = Package(
  4. name: "SwiftyStoreKit",
  5. platforms: [.iOS("9.0"), .macOS("10.10"), .tvOS("9.0"), .watchOS("6.2")],
  6. products: [
  7. // Products define the executables and libraries produced by a package, and make them visible to other packages.
  8. .library(
  9. name: "SwiftyStoreKit",
  10. targets: ["SwiftyStoreKit"])
  11. ],
  12. dependencies: [
  13. // Dependencies declare other packages that this package depends on.
  14. // .package(url: /* package url */, from: "1.0.0"),
  15. ],
  16. targets: [
  17. // Targets are the basic building blocks of a package. A target can define a module or a test suite.
  18. // Targets can depend on other targets in this package, and on products in packages which this package depends on.
  19. .target(
  20. name: "SwiftyStoreKit",
  21. dependencies: []),
  22. .testTarget(
  23. name: "SwiftyStoreKitTests",
  24. dependencies: ["SwiftyStoreKit"])
  25. ]
  26. )