Преглед изворни кода

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