Files
Jot/Carthage/Checkouts/PromiseKit/Extensions/Foundation/Package.swift
James Griffin be7b6b5881 Add PromiseKit dependency
- Added PromiseKit dependency
2018-11-15 22:12:39 -04:00

24 lines
600 B
Swift

import PackageDescription
let package = Package(
name: "PMKFoundation",
dependencies: [
.Package(url: "https://github.com/mxcl/PromiseKit.git", majorVersion: 6)
],
swiftLanguageVersions: [3, 4],
exclude: [
"Sources/NSNotificationCenter+AnyPromise.m",
"Sources/NSTask+AnyPromise.m",
"Sources/NSURLSession+AnyPromise.m",
"Sources/PMKFoundation.h",
"Tests" // currently SwiftPM is not savvy to having a single test
]
)
#if os(Linux)
package.exclude += [
"Sources/afterlife.swift",
"Sources/NSObject+Promise.swift"
]
#endif