From c5159af7c1baa1263690c701adfa49d219e5ea38 Mon Sep 17 00:00:00 2001 From: Gordon Fontenot Date: Thu, 21 May 2020 19:36:03 -0500 Subject: [PATCH] Add installation instructions for SPM --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 9b26ffa..0e8ee20 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,24 @@ and instead using [one of the releases we've provided][releases]. ## Installation ## +### [Swift Package Manager] ### + +[Swift Package Manager]: https://swift.org/package-manager/ + +Add this as a package dependency in Xcode: + +``` +https://github.com/thoughtbot/Curry +``` + +Or add it as a dependency in your Package.swift file: + +```swift +dependencies: [ + .package(url: "https://github.com/thoughtbot/Curry", from: "5.0.0"), +] +``` + ### [Carthage] ### [Carthage]: https://github.com/Carthage/Carthage