Skip to content

Commit

Permalink
SPM support (#1) (#44)
Browse files Browse the repository at this point in the history
Added SPM support
  • Loading branch information
RomanPodymov authored Mar 20, 2020
1 parent 89619ab commit 0fbf992
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// swift-tools-version:5.1

import PackageDescription

let package = Package(
name: "SwiftyAttributes",
platforms: [
.iOS(.v8),
.macOS(.v10_11),
.tvOS(.v9)
],
products: [
.library(name: "SwiftyAttributes", targets: ["SwiftyAttributes"])
],
targets: [
.target(name: "SwiftyAttributes", path: "SwiftyAttributes"),
.testTarget(name: "SwiftyAttributesTests", dependencies: ["SwiftyAttributes"], path: "SwiftyAttributesTests")
],
swiftLanguageVersions: [
.v5
]
)
2 changes: 2 additions & 0 deletions SwiftyAttributes/Sources/common/Attribute+Sequence.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
// Copyright © 2016 Eddie Kaiger. All rights reserved.
//

import Foundation

/**
An extension on dictionaries that allows us to convert a Foundation-based dictionary of attributes to an array of `Attribute`s.
*/
Expand Down

0 comments on commit 0fbf992

Please sign in to comment.