Fix the Travic-CI script because of rubygem version bump, update the readme

This commit is contained in:
DreamPiggy 2019-12-27 12:14:32 +08:00
parent cad41dc4f8
commit fb91d2990b
2 changed files with 10 additions and 2 deletions

View File

@ -13,7 +13,7 @@ notifications:
before_install: before_install:
- env - env
- locale - locale
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet - gem install xcpretty --no-document --quiet
- xcpretty --version - xcpretty --version
- xcodebuild -version - xcodebuild -version
- xcodebuild -showsdks - xcodebuild -showsdks

View File

@ -17,6 +17,14 @@ This also contains the Swift Package Manager support
## Installation ## Installation
#### CocoaPods
libwebp is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile:
```ruby
pod 'libwebp'
```
### Carthage ### Carthage
libwebp is (via this repo) available through [Carthage](https://github.com/Carthage/Carthage). libwebp is (via this repo) available through [Carthage](https://github.com/Carthage/Carthage).
@ -29,7 +37,7 @@ github "SDWebImage/libwebp-Xcode"
Libwebp is available through [Swift Package Manager](https://img.shields.io/badge/SwiftPM-compatible-brightgreen.svg). Libwebp is available through [Swift Package Manager](https://img.shields.io/badge/SwiftPM-compatible-brightgreen.svg).
``` ```swift
let package = Package( let package = Package(
dependencies: [ dependencies: [
.package(url: "https://github.com/SDWebImage/libwebp-Xcode", from: "1.1.0") .package(url: "https://github.com/SDWebImage/libwebp-Xcode", from: "1.1.0")