Skip to content

Commit

Permalink
Add Cocoapods and bump version (#10)
Browse files Browse the repository at this point in the history
Add Cocoapods
  • Loading branch information
gabriellanata authored Jul 16, 2021
1 parent 99f4d05 commit 840c5a6
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
15 changes: 15 additions & 0 deletions Hammer.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Pod::Spec.new do |spec|
spec.name = "Hammer"
spec.version = "0.10.0"
spec.summary = "iOS touch and keyboard syntheis library for unit tests."
spec.description = "Hammer is a touch and keyboard synthesis library for emulating user interaction events. It enables new ways of triggering UI actions in unit tests, replicating a real world environment as much as possible."
spec.homepage = "https://github.com/lyft/Hammer"
spec.screenshots = "https://user-images.githubusercontent.com/585835/116217617-ab410080-a6fe-11eb-9de1-3d42f7dd6037.gif"
spec.license = { :type => "Apache License, Version 2.0", :file => "./LICENSE" }
spec.author = { "Gabriel Lanata" => "gabriel@lanata.me" }
spec.platform = :ios, "11.0"
spec.swift_version = "5.3"
spec.source = { :git => "https://github.com/lyft/Hammer.git", :tag => "#{spec.version}" }
spec.source_files = "Sources/**/*.swift"
spec.requires_arc = true
end
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,26 @@

## Introduction

Hammer is a touch and keyboard synthesis library for emulating user interaction events. It enables new ways of triggering UI actions in unit tests, replicating a real world environment as much as possible.
Hammer is a touch, stylus and keyboard synthesis library for emulating user interaction events. It enables better ways of triggering UI actions in unit tests, replicating a real world environment as much as possible.

⚠️ IMPORTANT: This library makes extensive use of private APIs and should never be included in a production app.

## Installation

#### Requirements

Hammer requires Swift 5.3 and iOS 11.0 or later.

#### With [SwiftPM](https://swift.org/package-manager)

```swift
.package(url: "https://github.com/lyft/Hammer.git", from: "0.9.0")
.package(url: "https://github.com/lyft/Hammer.git", from: "0.10.0")
```

#### With [CocoaPods](https://cocoapods.org/)

```swift
pod 'HammerTests', '~> 0.10.0'
```

## Setup
Expand Down

0 comments on commit 840c5a6

Please sign in to comment.