-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathPackage.swift
More file actions
33 lines (30 loc) · 833 Bytes
/
Package.swift
File metadata and controls
33 lines (30 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// swift-tools-version:5.1
import PackageDescription
let exclude = ["PMKMapKit.h"] + ["MKMapSnapshotter", "MKDirections"].flatMap {
["\($0)+AnyPromise.m", "\($0)+AnyPromise.h"]
}
let package = Package(
name: "PMKMapKit",
platforms: [
.macOS(.v10_10), .iOS(.v8), .tvOS(.v9), .watchOS(.v3)
],
products: [
.library(
name: "PMKMapKit",
targets: ["PMKMapKit"]),
],
dependencies: [
.package(url: "https://github.com/mxcl/PromiseKit.git", from: "6.0.0"),
],
targets: [
.target(
name: "PMKMapKit",
dependencies: ["PromiseKit"],
path: "Sources",
exclude: exclude),
.testTarget(
name: "PMKMapKitTests",
dependencies: ["PMKMapKit"],
path: "Tests"),
]
)