From fb91d2990bebc3c915d0eab1f4a497bb49a4928f Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Fri, 27 Dec 2019 12:14:32 +0800 Subject: [PATCH] Fix the Travic-CI script because of rubygem version bump, update the readme --- .travis.yml | 2 +- README.md | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9594213..c6cea0a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ notifications: before_install: - env - locale - - gem install xcpretty --no-rdoc --no-ri --no-document --quiet + - gem install xcpretty --no-document --quiet - xcpretty --version - xcodebuild -version - xcodebuild -showsdks diff --git a/README.md b/README.md index 48d3d20..d3ab7e2 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,14 @@ This also contains the Swift Package Manager support ## 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 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). -``` +```swift let package = Package( dependencies: [ .package(url: "https://github.com/SDWebImage/libwebp-Xcode", from: "1.1.0")