From 5a78e24394bfec57a7a8de8e29e38f5aa47a6794 Mon Sep 17 00:00:00 2001 From: Hesham Salman Date: Wed, 21 Apr 2021 18:18:39 -0400 Subject: [PATCH] Dynamic Product (#710) This PR adds a dynamic product to SnapKit. Having a dynamic product is important in modular project structures; multiple packages may be using SnapKit, and this allows that support without the end-user have to wrap SnapKit in their own package that exposes it and using that package in lieu of SnapKit. --- Package.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Package.swift b/Package.swift index 7320cd8..c3d31cd 100644 --- a/Package.swift +++ b/Package.swift @@ -34,6 +34,7 @@ let package = Package( ], products: [ .library(name: "SnapKit", targets: ["SnapKit"]), + .library(name: "SnapKit-Dynamic", type: .dynamic, targets: ["SnapKit"]), ], targets: [ .target(name: "SnapKit", path: "Sources"),