forked from kif-framework/AMYServer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AMYServer.podspec
32 lines (27 loc) · 1.1 KB
/
AMYServer.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
31
32
Pod::Spec.new do |s|
s.name = "AMYServer"
s.version = "2.0.0"
s.summary = "AMY Mocks Your Server - A mock HTTP server for KIF."
s.homepage = "https://github.com/kif-framework/AMYServer"
s.license = 'Apache 2.0'
s.author = { "Brian Nickel" => "[email protected]" }
s.source = { :git => "https://github.com/kif-framework/AMYServer.git", :tag => "v2.0.0" }
s.platform = :ios, '5.1'
s.requires_arc = true
s.dependency 'GRMustache', '>= 6.8.3'
s.default_subspec = 'XCTest'
s.subspec 'OCUnit' do |sentest|
sentest.source_files = 'AMYServer'
sentest.dependency 'KIF/OCUnit', '~> 3.0'
# I would expect the following to be inherited but lint disagrees.
sentest.framework = 'SenTestingKit'
sentest.xcconfig = { 'OTHER_CFLAGS' => '-DKIF_SENTEST' }
end
s.subspec 'XCTest' do |xctest|
xctest.source_files = 'AMYServer'
xctest.dependency 'KIF/XCTest', '~> 3.0'
# I would expect the following to be inherited but lint disagrees.
xctest.framework = 'XCTest'
xctest.xcconfig = { 'OTHER_CFLAGS' => '-DKIF_XCTEST' }
end
end