Skip to content
This repository was archived by the owner on Mar 10, 2022. It is now read-only.

Commit 840aba9

Browse files
authored
Merge pull request #42 from nodes-ios/feature/SPMsupport
SPM support added
2 parents e9f95b9 + f3df46b commit 840aba9

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

Package.swift

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// swift-tools-version:5.0
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: "Spinner",
8+
platforms: [
9+
.iOS(.v9)
10+
],
11+
products: [
12+
// Products define the executables and libraries produced by a package, and make them visible to other packages.
13+
.library(
14+
name: "Spinner",
15+
targets: ["Spinner"]),
16+
],
17+
dependencies: [
18+
// Dependencies declare other packages that this package depends on.
19+
// .package(url: /* package url */, from: "1.0.0"),
20+
],
21+
targets: [
22+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
23+
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
24+
.target(
25+
name: "Spinner",
26+
dependencies: []),
27+
.testTarget(
28+
name: "SpinnerTests",
29+
dependencies: ["Spinner"],
30+
path: "SpinnerTests"),
31+
]
32+
)

Sources/Spinner/Spinner.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../Spinner/Spinner.swift

0 commit comments

Comments
 (0)