Package.swift 1.1 KB

1234567891011121314151617181920212223242526
  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(name: "SwiftyStoreKit", targets: ["SwiftyStoreKit"]),
  9. .library(name: "SwiftyStoreKit-Dynamic", type: .dynamic, targets: ["SwiftyStoreKit"]),
  10. ],
  11. dependencies: [
  12. // Dependencies declare other packages that this package depends on.
  13. // .package(url: /* package url */, from: "1.0.0"),
  14. ],
  15. targets: [
  16. // Targets are the basic building blocks of a package. A target can define a module or a test suite.
  17. // Targets can depend on other targets in this package, and on products in packages which this package depends on.
  18. .target(
  19. name: "SwiftyStoreKit",
  20. dependencies: []),
  21. .testTarget(
  22. name: "SwiftyStoreKitTests",
  23. dependencies: ["SwiftyStoreKit"])
  24. ]
  25. )