Skip to content

Commit

Permalink
Support SPM
Browse files Browse the repository at this point in the history
  • Loading branch information
calimarkus committed Jun 14, 2022
1 parent e8c24ed commit 2043cc0
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@ profile
*.moved-aside
DerivedData
.xcconfig
ExampleProject/Pods/
ExampleProject/Pods/

# SPM
.build
.swiftpm
File renamed without changes.
File renamed without changes.
28 changes: 28 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// swift-tools-version: 5.6
// (minimum version of Swift required to build this package)

import PackageDescription

let package = Package(
name: "JDStatusBarNotification",
platforms: [
.iOS(.v13)
],
products: [
.library(
name: "JDStatusBarNotification",
targets: ["JDStatusBarNotification"]),
],
targets: [
.target(
name: "JDStatusBarNotification",
dependencies: [],
path: ".",
exclude: ["ExampleProject/"],
sources: ["JDStatusBarNotification/"],
publicHeadersPath: "JDStatusBarNotification/Public/",
cSettings: [
.headerSearchPath("**"),
]),
]
)

0 comments on commit 2043cc0

Please sign in to comment.