mirror of https://github.com/SnapKit/SnapKit
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.
This commit is contained in:
parent
19bc403770
commit
5a78e24394
|
@ -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"),
|
||||
|
|
Loading…
Reference in New Issue