From cd618cf842966cbcb351c9c793153d16c258719e Mon Sep 17 00:00:00 2001
From: pavlospt
Date: Fri, 31 Jan 2020 17:42:18 +0200
Subject: [PATCH 1/3] Enhance .gitignore
---
.gitignore | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/.gitignore b/.gitignore
index 6bd4017..831ba11 100644
--- a/.gitignore
+++ b/.gitignore
@@ -66,3 +66,21 @@ fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
+
+.build
+DerivedData
+/.previous-build
+xcuserdata
+.DS_Store
+*~
+\#*
+.\#*
+.*.sw[nop]
+*.xcscmblueprint
+/default.profraw
+*.xcodeproj
+Utilities/Docker/*.tar.gz
+.swiftpm
+Package.resolved
+/build
+*.pyc
From 568816a459636e6ded52df4dc59196298400c6e3 Mon Sep 17 00:00:00 2001
From: pavlospt
Date: Fri, 31 Jan 2020 17:42:36 +0200
Subject: [PATCH 2/3] Update README instructions for new SPM format
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 401747c..ae0663b 100644
--- a/README.md
+++ b/README.md
@@ -55,7 +55,7 @@ import PackageDescription
let package = Package(
name: "MyApp",
dependencies: [
- .Package(url: "https://github.com/Workable/swift-error-handler.git", majorVersion: 0)
+ .package(url: "https://github.com/Workable/swift-error-handler.git", from: "0.8")
]
)
```
From 4a0141c9197ccbddefc0f483a07dff6a446dabeb Mon Sep 17 00:00:00 2001
From: pavlospt
Date: Fri, 31 Jan 2020 17:43:27 +0200
Subject: [PATCH 3/3] Update Package.swift format for 5.1 Swift tools
---
Package.swift | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/Package.swift b/Package.swift
index 99826d3..9a18809 100644
--- a/Package.swift
+++ b/Package.swift
@@ -1,9 +1,25 @@
+// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "ErrorHandler",
+ platforms: [
+ .iOS(.v8),
+ .macOS(.v10_10),
+ .watchOS(.v2),
+ .tvOS(.v9)
+ ],
+ products: [
+ .library(
+ name: "ErrorHandler",
+ targets: ["ErrorHandler"]),
+ ],
dependencies: [
- .Package(url: "https://github.com/Alamofire/Alamofire.git", versions: Version(4, 0, 0)..