Skip to content

Commit 513bc70

Browse files
authored
Release 0.2.0 (#30)
1 parent 5ed8ddc commit 513bc70

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

Html.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Html"
3-
s.version = "0.1.3"
3+
s.version = "0.2.0"
44
s.summary = "A Swift DSL for type-safe, extensible, and transformable HTML documents."
55

66
s.description = <<-DESC

HtmlSnapshotTesting.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "HtmlSnapshotTesting"
3-
s.version = "0.1.3"
3+
s.version = "0.2.0"
44
s.summary = "SnapshotTesting strategies for Html."
55

66
s.description = <<-DESC
@@ -28,7 +28,7 @@ Pod::Spec.new do |s|
2828
s.osx.deployment_target = "10.10"
2929
s.tvos.deployment_target = "10.0"
3030

31-
s.dependency "Html", "~> 0.1"
31+
s.dependency "Html", "~> 0.2"
3232
s.dependency "SnapshotTesting", "~> 1.1"
3333

3434
s.source_files = "Sources/HtmlSnapshotTesting/**/*.swift"

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The popular choice for rendering HTML in Swift these days is to use templating l
2626

2727
HTML documents can be created in a tree-like fashion, much like you might create a nested JSON document:
2828

29-
```swift
29+
```swift
3030
import Html
3131

3232
let document = html([
@@ -189,15 +189,15 @@ There are a few reasons you might want to still use a templating language:
189189
If you use [Carthage](https://github.com/Carthage/Carthage), you can add the following dependency to your `Cartfile`:
190190

191191
``` ruby
192-
github "pointfreeco/swift-html" ~> 0.1.3
192+
github "pointfreeco/swift-html" ~> 0.2
193193
```
194194

195195
### CocoaPods
196196

197197
If your project uses [CocoaPods](https://cocoapods.org), just add the following to your `Podfile`:
198198

199199
``` ruby
200-
pod 'Html', '~> 0.1.3'
200+
pod 'Html', '~> 0.2'
201201
```
202202

203203
### SwiftPM
@@ -206,10 +206,12 @@ If you want to use swift-html in a project that uses [SwiftPM](https://swift.org
206206

207207
``` swift
208208
dependencies: [
209-
.package(url: "https://github.com/pointfreeco/swift-html.git", from: "0.1.3")
209+
.package(url: "https://github.com/pointfreeco/swift-html.git", from: "0.2.0")
210210
]
211211
```
212212

213+
From there you can add `Html` or `HtmlSnapshotTesting` as target dependencies.
214+
213215
### Xcode Sub-project
214216

215217
Submodule, clone, or download swift-html, and drag `Html.xcodeproj` into your project.

0 commit comments

Comments
 (0)