Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.2.0 #30

Merged
merged 1 commit into from
Jan 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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