-
Notifications
You must be signed in to change notification settings - Fork 178
/
Mockingjay.podspec
31 lines (28 loc) · 1.27 KB
/
Mockingjay.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Pod::Spec.new do |spec|
spec.name = 'Mockingjay'
spec.version = '3.0.0-alpha.1'
spec.summary = 'An elegant library for stubbing HTTP requests with ease in Swift.'
spec.homepage = 'https://github.com/kylef/Mockingjay'
spec.license = { :type => 'BSD', :file => 'LICENSE' }
spec.author = { 'Kyle Fuller' => 'kyle@fuller.li' }
spec.social_media_url = 'http://twitter.com/kylefuller'
spec.source = { :git => 'https://github.com/kylef/Mockingjay.git', :tag => "#{spec.version}" }
spec.ios.deployment_target = '8.0'
spec.osx.deployment_target = '10.10'
spec.requires_arc = true
spec.swift_versions = ['4.2', '5.0']
spec.subspec 'Core' do |core_spec|
core_spec.dependency 'URITemplate', '~> 3.0'
core_spec.source_files = 'Sources/Mockingjay/Mockingjay.{h,swift}',
'Sources/Mockingjay/MockingjayProtocol.swift',
'Sources/Mockingjay/{Matchers,Builders}.swift',
'Sources/Mockingjay/NSURLSessionConfiguration.swift',
'Sources/Mockingjay/MockingjayURLSessionConfiguration.m'
end
spec.subspec 'XCTest' do |xctest_spec|
xctest_spec.dependency 'Mockingjay/Core'
xctest_spec.source_files = 'Sources/Mockingjay/XCTest.swift'
xctest_spec.frameworks = 'XCTest'
xctest_spec.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO' }
end
end