Procházet zdrojové kódy

Package.swift: add dynamic library

Andrew Breckenridge před 4 roky
rodič
revize
c614ce7515
1 změnil soubory, kde provedl 2 přidání a 3 odebrání
  1. 2 3
      Package.swift

+ 2 - 3
Package.swift

@@ -6,9 +6,8 @@ let package = Package(
     platforms: [.iOS("9.0"), .macOS("10.10"), .tvOS("9.0"), .watchOS("6.2")],
     products: [
         // Products define the executables and libraries produced by a package, and make them visible to other packages.
-        .library(
-            name: "SwiftyStoreKit",
-            targets: ["SwiftyStoreKit"])
+        .library(name: "SwiftyStoreKit", targets: ["SwiftyStoreKit"]),
+        .library(name: "SwiftyStoreKit-Dynamic", type: .dynamic, targets: ["SwiftyStoreKit"]),
     ],
     dependencies: [
         // Dependencies declare other packages that this package depends on.