Skip to content

Commit 852b469

Browse files
committed
add swiftpm support
1 parent a6d20a2 commit 852b469

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

Package.swift

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// swift-tools-version:5.0
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
import PackageDescription
4+
5+
let package = Package(
6+
name: "Masonry",
7+
platforms: [
8+
.macOS(.v10_11),
9+
.iOS(.v9),
10+
.tvOS(.v9)
11+
],
12+
products: [
13+
// Products define the executables and libraries a package produces, and make them visible to other packages.
14+
.library(
15+
name: "Masonry",
16+
targets: ["Masonry"])
17+
],
18+
targets: [
19+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
20+
// Targets can depend on other targets in this package, and on products in packages this package depends on.
21+
.target(
22+
name: "Masonry",
23+
path: ".",
24+
exclude: ["Masonry/Info.plist"],
25+
sources: ["Masonry"],
26+
publicHeadersPath: "Masonry"
27+
)
28+
]
29+
)

0 commit comments

Comments
 (0)