-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from Yeatse/feature/modular_headers
Make CG functions public & remove custom modular headers
- Loading branch information
Showing
7 changed files
with
29 additions
and
51 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
language: objective-c | ||
language: swift | ||
os: osx | ||
osx_image: xcode10 | ||
osx_image: xcode10.2 | ||
cache: cocoapods | ||
podfile: Example/Podfile | ||
before_install: | ||
- gem install cocoapods # Since Travis is not always on latest version | ||
- pod repo update | ||
- pod install --project-directory=Example | ||
script: | ||
- set -o pipefail && xcodebuild clean test -workspace Example/KingfisherWebP.xcworkspace -scheme KingfisherWebP-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -destination 'platform=iOS Simulator,name=iPhone 8,OS=11.3' | xcpretty | ||
- set -o pipefail && xcodebuild clean test -workspace Example/KingfisherWebP.xcworkspace -scheme KingfisherWebP-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -destination 'platform=iOS Simulator,name=iPhone 8,OS=12.2' | xcpretty | ||
- pod lib lint --allow-warnings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,25 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'KingfisherWebP' | ||
s.version = '0.5.0' | ||
s.swift_version = '5.0' | ||
s.summary = 'A Kingfisher extension helping you process webp format' | ||
|
||
s.description = <<-DESC | ||
KingfisherWebP is an extension of the popular library [Kingfisher](https://github.com/onevcat/Kingfisher), providing a ImageProcessor and CacheSerializer for you to conveniently handle the WebP format. | ||
DESC | ||
|
||
s.homepage = 'https://github.com/yeatse/KingfisherWebP' | ||
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' | ||
s.license = { :type => 'MIT', :file => 'LICENSE' } | ||
s.author = { 'Yang Chao' => '[email protected]' } | ||
s.source = { :git => 'https://github.com/yeatse/KingfisherWebP.git', :tag => s.version.to_s } | ||
s.social_media_url = 'https://twitter.com/yeatse' | ||
|
||
s.ios.deployment_target = '10.0' | ||
s.tvos.deployment_target = '10.0' | ||
# s.osx.deployment_target = '10.12' | ||
s.watchos.deployment_target = '3.0' | ||
# s.osx.deployment_target = '10.12' | ||
|
||
s.source_files = 'KingfisherWebP/Classes/**/*' | ||
s.public_header_files = 'KingfisherWebP/Classes/KingfisherWebP-umbrella.h' | ||
s.private_header_files = 'KingfisherWebP/Classes/CGImage+WebP.h' | ||
s.module_map = 'KingfisherWebP/KingfisherWebP.modulemap' | ||
|
||
s.pod_target_xcconfig = { | ||
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src' | ||
} | ||
|
@@ -38,11 +34,6 @@ KingfisherWebP is an extension of the popular library [Kingfisher](https://githu | |
'USER_HEADER_SEARCH_PATHS' => '$(inherited) $(SRCROOT)/libwebp/src' | ||
} | ||
|
||
#s.osx.exclude_files = # None | ||
#s.watchos.exclude_files = # None | ||
#s.ios.exclude_files = # None | ||
#s.tvos.exclude_files = # None | ||
|
||
s.dependency 'Kingfisher', '~> 5.0' | ||
s.dependency 'libwebp', '>= 0.5.0' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.