Skip to content

Commit

Permalink
[ci skip] Update Swift support statement
Browse files Browse the repository at this point in the history
  • Loading branch information
djones6 authored Mar 26, 2019
1 parent 0ca8fb0 commit 6cee271
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,37 +30,22 @@ API documentation for `HTMLEntities` is located [here](https://ibm-swift.github.

## Version Info

Latest release of `HTMLEntities` runs on Swift 3 and 4. Tested on Swift 3.1.1 and Swift 4.0+ toolchains.
Latest release of `HTMLEntities` requires Swift 4.0 and higher.

## Installation

### Via Swift Package Manager

Add `HTMLEntities` to your `Package.swift`:

Swift 3:

```swift
import PackageDescription

let package = Package(
name: "<package-name>",
dependencies: [
.Package(url: "https://github.com/IBM-Swift/swift-html-entities.git", majorVersion: 3, minor: 0)
]
)
```

Swift 4:

```swift
import PackageDescription

let package = Package(
name: "<package-name>",
...
dependencies: [
.package(url: "https://github.com/IBM-Swift/swift-html-entities.git", .upToNextMajor(from: "3.0.0")
.package(url: "https://github.com/IBM-Swift/swift-html-entities.git", from: "3.0.0")
]
// Also, make sure to add HTMLEntities to your package target's dependencies
)
Expand Down

0 comments on commit 6cee271

Please sign in to comment.