瀏覽代碼

Merge pull request #239 from lucas34/pr/SPM

Support SPM for Reachability target
Ashley Mills 7 年之前
父節點
當前提交
6dc93b3110
共有 1 個文件被更改,包括 23 次插入0 次删除
  1. 23 0
      Package.swift

+ 23 - 0
Package.swift

@@ -0,0 +1,23 @@
+// swift-tools-version:4.0
+// The swift-tools-version declares the minimum version of Swift required to build this package.
+
+import PackageDescription
+
+let package = Package(
+    name: "Reachability",
+    products: [
+        .library(
+            name: "Reachability",
+            targets: ["Reachability"]),
+    ],
+    targets: [
+        .target(
+            name: "Reachability",
+            dependencies: [],
+            path: "Reachability"),
+        .testTarget(
+            name: "ReachabilityTests",
+            dependencies: ["Reachability"],
+            path: "ReachabilityTests"),
+    ]
+)