Skip to content

Commit

Permalink
ref #231 - add Package.swift (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
lvnkmn authored and Daltron committed Nov 15, 2019
1 parent f0f6be9 commit 2dbf7d9
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ Carthage
# `pod install` in .travis.yml
#
# Pods/
.swiftpm
25 changes: 25 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"object": {
"pins": [
{
"package": "MarqueeLabel",
"repositoryURL": "https://github.com/cbpowell/MarqueeLabel",
"state": {
"branch": "xcode11",
"revision": "ac87bb9f1ee16cdfcd94ac5271f1b1e8033c9ffc",
"version": null
}
},
{
"package": "SnapKit",
"repositoryURL": "https://github.com/SnapKit/SnapKit",
"state": {
"branch": null,
"revision": "d458564516e5676af9c70b4f4b2a9178294f1bc6",
"version": "5.0.1"
}
}
]
},
"version": 1
}
24 changes: 24 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// swift-tools-version:5.0
import PackageDescription

let package = Package(
name: "NotificationBannerSwift",
platforms: [
.iOS(.v10)
],
products: [
.library(name: "NotificationBannerSwift", targets: ["NotificationBannerSwift"])
],
dependencies: [
.package(url: "https://github.com/SnapKit/SnapKit", from: "5.0.1"),
.package(url: "https://github.com/cbpowell/MarqueeLabel", .branch("xcode11"))
],
targets: [
.target(
name: "NotificationBannerSwift",
dependencies: [.byName(name: "MarqueeLabel"), .byName(name: "SnapKit")],
path: "NotificationBanner/Classes"
)
],
swiftLanguageVersions: [.v5]
)

0 comments on commit 2dbf7d9

Please sign in to comment.