From 018245f2d0d62c7959ec7fc7a987c21304ed1263 Mon Sep 17 00:00:00 2001 From: Siemen Sikkema Date: Fri, 8 Feb 2019 16:10:43 +0100 Subject: [PATCH] Update README --- README.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9fb5fec..5770b73 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,26 @@ ## 📦 Installation -Update your `Package.swift` file. +Add `Sugar` to the package dependencies (in your `Package.swift` file): ```swift -.package(url: "https://github.com/nodes-vapor/sugar.git", from: "4.0.0") +dependencies: [ + ..., + .package(url: "https://github.com/nodes-vapor/sugar.git", from: "4.0.0-beta") +] +``` + +as well as to your target (e.g. "App"): + +```swift +targets: [ + ... + .target( + name: "App", + dependencies: [... "Sugar" ...] + ), + ... +] ``` ## Getting started 🚀