forked from facebook/FBRetainCycleDetector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FBRetainCycleDetector.podspec
49 lines (45 loc) · 2.15 KB
/
FBRetainCycleDetector.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
44
45
46
47
48
49
Pod::Spec.new do |s|
s.name = "FBRetainCycleDetector"
s.version = "0.1.2"
s.summary = "Library that helps with detecting retain cycles in iOS apps"
s.homepage = "https://github.com/facebook/FBRetainCycleDetector"
s.license = "BSD"
s.author = { "Grzegorz Pstrucha" => "[email protected]" }
s.platform = :ios, "7.0"
s.source = {
:git => "https://github.com/facebook/FBRetainCycleDetector.git",
:tag => "0.1.2"
}
s.source_files = "FBRetainCycleDetector", "{FBRetainCycleDetector,fishhook}/**/*.{h,m,mm,c}"
mrr_files = [
'FBRetainCycleDetector/Associations/FBAssociationManager.h',
'FBRetainCycleDetector/Associations/FBAssociationManager.mm',
'FBRetainCycleDetector/Layout/Blocks/FBBlockStrongLayout.h',
'FBRetainCycleDetector/Layout/Blocks/FBBlockStrongLayout.m',
'FBRetainCycleDetector/Layout/Blocks/FBBlockStrongRelationDetector.h',
'FBRetainCycleDetector/Layout/Blocks/FBBlockStrongRelationDetector.m',
'FBRetainCycleDetector/Layout/Classes/FBClassStrongLayoutHelpers.h',
'FBRetainCycleDetector/Layout/Classes/FBClassStrongLayoutHelpers.m',
]
files = Pathname.glob("FBRetainCycleDetector/**/*.{h,m,mm}")
files = files.map {|file| file.to_path}
files = files.reject {|file| mrr_files.include?(file)}
s.requires_arc = files + [
'fishhook/**/*.{c,h}'
]
s.public_header_files = [
'FBRetainCycleDetector/Detector/FBRetainCycleDetector.h',
'FBRetainCycleDetector/Associations/FBAssociationManager.h',
'FBRetainCycleDetector/Graph/FBObjectiveCBlock.h',
'FBRetainCycleDetector/Graph/FBObjectiveCGraphElement.h',
'FBRetainCycleDetector/Graph/Specialization/FBObjectiveCNSCFTimer.h',
'FBRetainCycleDetector/Graph/FBObjectiveCObject.h',
'FBRetainCycleDetector/Graph/FBObjectGraphConfiguration.h',
'FBRetainCycleDetector/Layout/Classes/Parser/FBParsedStruct.h',
'FBRetainCycleDetector/Layout/Classes/Parser/FBParsedType.h',
'FBRetainCycleDetector/Filtering/FBStandardGraphEdgeFilters.h',
'FBRetainCycleDetector/Layout/Classes/Parser/FBStructEncodingParser.h',
]
s.framework = "Foundation", "CoreGraphics", "UIKit"
s.library = 'c++'
end