Skip to content

Commit 50757e1

Browse files
authored
Add Swift Package Manager support (#151)
* Add SPM support * Add path
1 parent f6dee2c commit 50757e1

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

Package.swift

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// swift-tools-version:5.2
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "iosMath",
8+
products: [
9+
// Products define the executables and libraries produced by a package, and make them visible to other packages.
10+
.library(
11+
name: "iosMath",
12+
targets: ["iosMath"]),
13+
],
14+
dependencies: [
15+
// Dependencies declare other packages that this package depends on.
16+
// .package(url: /* package url */, from: "1.0.0"),
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 which this package depends on.
21+
.target(
22+
name: "iosMath",
23+
dependencies: [],
24+
path: "./"),
25+
.testTarget(
26+
name: "iosMathTests",
27+
dependencies: ["iosMath"]),
28+
]
29+
)

0 commit comments

Comments
 (0)