Skip to content

Commit

Permalink
Dynamic Product (SnapKit#710)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Iron-Ham authored Apr 21, 2021
1 parent 19bc403 commit 5a78e24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 5a78e24

Please sign in to comment.