62 lines
1.3 KiB
Plaintext
62 lines
1.3 KiB
Plaintext
|
source 'https://github.com/CocoaPods/Specs.git'
|
||
|
|
||
|
use_frameworks!
|
||
|
|
||
|
def all_example_pods
|
||
|
pod 'SDWebImage/MapKit', :path => './'
|
||
|
pod 'SDWebImageWebPCoder', :git => 'https://github.com/SDWebImage/SDWebImageWebPCoder.git', :branch => 'master'
|
||
|
end
|
||
|
|
||
|
def watch_example_pods
|
||
|
pod 'SDWebImage/Core', :path => './'
|
||
|
pod 'SDWebImageWebPCoder', :git => 'https://github.com/SDWebImage/SDWebImageWebPCoder.git', :branch => 'master'
|
||
|
end
|
||
|
|
||
|
def all_test_pods
|
||
|
pod 'SDWebImage/MapKit', :path => './'
|
||
|
pod 'Expecta'
|
||
|
pod 'KVOController'
|
||
|
end
|
||
|
|
||
|
example_project_path = 'Examples/SDWebImage Demo'
|
||
|
test_project_path = 'Tests/SDWebImage Tests'
|
||
|
workspace 'SDWebImage.xcworkspace'
|
||
|
|
||
|
# Example Project
|
||
|
target 'SDWebImage iOS Demo' do
|
||
|
project example_project_path
|
||
|
platform :ios, '8.0'
|
||
|
all_example_pods
|
||
|
end
|
||
|
|
||
|
target 'SDWebImage OSX Demo' do
|
||
|
project example_project_path
|
||
|
platform :osx, '10.10'
|
||
|
all_example_pods
|
||
|
end
|
||
|
|
||
|
target 'SDWebImage TV Demo' do
|
||
|
project example_project_path
|
||
|
platform :tvos, '9.2'
|
||
|
all_example_pods
|
||
|
end
|
||
|
|
||
|
target 'SDWebImage Watch Demo Extension' do
|
||
|
project example_project_path
|
||
|
platform :watchos, '2.0'
|
||
|
watch_example_pods
|
||
|
end
|
||
|
|
||
|
# Test Project
|
||
|
target 'Tests' do
|
||
|
project test_project_path
|
||
|
platform :ios, '8.0'
|
||
|
all_test_pods
|
||
|
end
|
||
|
|
||
|
target 'Tests Mac' do
|
||
|
project test_project_path
|
||
|
platform :osx, '10.10'
|
||
|
all_test_pods
|
||
|
end
|