Skip to content

Commit 2043cc0

Browse files
committed
Support SPM
1 parent e8c24ed commit 2043cc0

File tree

8 files changed

+33
-1
lines changed

8 files changed

+33
-1
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,8 @@ profile
1717
*.moved-aside
1818
DerivedData
1919
.xcconfig
20-
ExampleProject/Pods/
20+
ExampleProject/Pods/
21+
22+
# SPM
23+
.build
24+
.swiftpm
File renamed without changes.

JDStatusBarNotification/JDStatusBarNotificationPresenter.h renamed to JDStatusBarNotification/Public/JDStatusBarNotificationPresenter.h

File renamed without changes.

JDStatusBarNotification/JDStatusBarNotificationPresenter.m renamed to JDStatusBarNotification/Public/JDStatusBarNotificationPresenter.m

File renamed without changes.

JDStatusBarNotification/JDStatusBarPrepareStyleBlock.h renamed to JDStatusBarNotification/Public/JDStatusBarPrepareStyleBlock.h

File renamed without changes.
File renamed without changes.
File renamed without changes.

Package.swift

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// swift-tools-version: 5.6
2+
// (minimum version of Swift required to build this package)
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "JDStatusBarNotification",
8+
platforms: [
9+
.iOS(.v13)
10+
],
11+
products: [
12+
.library(
13+
name: "JDStatusBarNotification",
14+
targets: ["JDStatusBarNotification"]),
15+
],
16+
targets: [
17+
.target(
18+
name: "JDStatusBarNotification",
19+
dependencies: [],
20+
path: ".",
21+
exclude: ["ExampleProject/"],
22+
sources: ["JDStatusBarNotification/"],
23+
publicHeadersPath: "JDStatusBarNotification/Public/",
24+
cSettings: [
25+
.headerSearchPath("**"),
26+
]),
27+
]
28+
)

0 commit comments

Comments
 (0)