forked from kif-framework/KIF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
KIF.podspec
43 lines (40 loc) · 1.84 KB
/
KIF.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
33
34
35
36
37
38
39
40
41
42
43
Pod::Spec.new do |s|
s.name = "KIF"
s.version = "3.2.1"
s.summary = "Keep It Functional - iOS UI acceptance testing in an XCUnit harness."
s.homepage = "https://github.com/kif-framework/KIF/"
s.license = 'Apache 2.0'
s.authors = 'Eric Firestone', 'Jim Puls', 'Brian Nickel'
s.source = { :git => "https://github.com/kif-framework/KIF.git", :tag => "v3.2.1" }
s.platform = :ios, '5.1'
s.frameworks = 'CoreGraphics', 'IOKit'
s.default_subspec = 'XCTest'
s.requires_arc = true
s.prefix_header_contents = '#import <CoreGraphics/CoreGraphics.h>'
s.subspec 'XCTest' do |xctest|
xctest.source_files = 'Classes', 'Additions'
xctest.exclude_files = 'Additions/SenTestCase-KIFAdditions.{h,m}'
xctest.public_header_files = 'Classes/**/*.h', 'Additions/**/*-KIFAdditions.h'
xctest.framework = 'XCTest'
xctest.compiler_flags = '-DKIF_XCTEST'
xctest.xcconfig = {
'OTHER_CFLAGS' => '-DKIF_XCTEST',
'FRAMEWORK_SEARCH_PATHS' => '$(PLATFORM_DIR)/Developer/Library/Frameworks' }
xctest.requires_arc = true
end
s.subspec 'OCUnit' do |sentest|
sentest.source_files = 'Classes', 'Additions'
sentest.exclude_files = 'Additions/XCTestCase-KIFAdditions.{h,m}'
sentest.public_header_files = 'Classes/**/*.h', 'Additions/**/*-KIFAdditions.h'
sentest.framework = 'SenTestingKit'
sentest.compiler_flags = '-DKIF_SENTEST'
sentest.xcconfig = { 'OTHER_CFLAGS' => '-DKIF_SENTEST' }
sentest.requires_arc = true
end
s.subspec 'IdentifierTests' do |kiaf|
kiaf.dependency 'KIF/XCTest'
kiaf.source_files = 'IdentifierTests'
kiaf.public_header_files = 'IdentifierTests/**/*.h'
kiaf.requires_arc = true
end
end