We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1d4ebd commit a44a08cCopy full SHA for a44a08c
1 file changed
Package.swift
@@ -0,0 +1,33 @@
1
+// swift-tools-version:5.1
2
+
3
+import PackageDescription
4
5
+let exclude = ["PMKMapKit.h"] + ["MKMapSnapshotter", "MKDirections"].flatMap {
6
+ ["\($0)+AnyPromise.m", "\($0)+AnyPromise.h"]
7
+}
8
9
+let package = Package(
10
+ name: "PMKMapKit",
11
+ platforms: [
12
+ .macOS(.v10_10), .iOS(.v8), .tvOS(.v9), .watchOS(.v3)
13
+ ],
14
+ products: [
15
+ .library(
16
17
+ targets: ["PMKMapKit"]),
18
19
+ dependencies: [
20
+ .package(url: "https://github.com/mxcl/PromiseKit.git", from: "6.0.0"),
21
22
+ targets: [
23
+ .target(
24
25
+ dependencies: ["PromiseKit"],
26
+ path: "Sources/MapKit",
27
+ exclude: exclude),
28
+ .testTarget(
29
+ name: "PMKMapKitTests",
30
+ dependencies: ["PMKMapKit"],
31
+ path: "Tests"),
32
+ ]
33
+)
0 commit comments