Skip to content

Commit

Permalink
Release 0.2.0 (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis committed Jan 8, 2019
1 parent 5ed8ddc commit 513bc70
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Html.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Html"
s.version = "0.1.3"
s.version = "0.2.0"
s.summary = "A Swift DSL for type-safe, extensible, and transformable HTML documents."

s.description = <<-DESC
Expand Down
4 changes: 2 additions & 2 deletions HtmlSnapshotTesting.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "HtmlSnapshotTesting"
s.version = "0.1.3"
s.version = "0.2.0"
s.summary = "SnapshotTesting strategies for Html."

s.description = <<-DESC
Expand Down Expand Up @@ -28,7 +28,7 @@ Pod::Spec.new do |s|
s.osx.deployment_target = "10.10"
s.tvos.deployment_target = "10.0"

s.dependency "Html", "~> 0.1"
s.dependency "Html", "~> 0.2"
s.dependency "SnapshotTesting", "~> 1.1"

s.source_files = "Sources/HtmlSnapshotTesting/**/*.swift"
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The popular choice for rendering HTML in Swift these days is to use templating l

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

```swift
```swift
import Html

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

``` ruby
github "pointfreeco/swift-html" ~> 0.1.3
github "pointfreeco/swift-html" ~> 0.2
```

### CocoaPods

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

``` ruby
pod 'Html', '~> 0.1.3'
pod 'Html', '~> 0.2'
```

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

``` swift
dependencies: [
.package(url: "https://github.com/pointfreeco/swift-html.git", from: "0.1.3")
.package(url: "https://github.com/pointfreeco/swift-html.git", from: "0.2.0")
]
```

From there you can add `Html` or `HtmlSnapshotTesting` as target dependencies.

### Xcode Sub-project

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

0 comments on commit 513bc70

Please sign in to comment.