ソースを参照

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"),
+    ]
+)