-
Notifications
You must be signed in to change notification settings - Fork 0
/
CocoaLumberjack.podspec
55 lines (42 loc) · 1.87 KB
/
CocoaLumberjack.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
50
51
52
53
54
55
Pod::Spec.new do |s|
s.name = 'CocoaLumberjack'
s.version = '2.0.1'
s.license = 'BSD'
s.summary = 'A fast & simple, yet powerful & flexible logging framework for Mac and iOS.'
s.homepage = 'https://github.com/CocoaLumberjack/CocoaLumberjack'
s.author = { 'Robbie Hanson' => '[email protected]' }
s.source = { :git => 'https://github.com/CocoaLumberjack/CocoaLumberjack.git',
:tag => "#{s.version}" }
s.description = 'It is similar in concept to other popular logging frameworks such as log4j, ' \
'yet is designed specifically for objective-c, and takes advantage of features ' \
'such as multi-threading, grand central dispatch (if available), lockless ' \
'atomic operations, and the dynamic nature of the objective-c runtime.'
s.requires_arc = true
s.preserve_paths = 'README.md', 'Classes/CocoaLumberjack.swift', 'Framework/Lumberjack/CocoaLumberjack.modulemap'
s.ios.deployment_target = '5.0'
s.osx.deployment_target = '10.7'
s.public_header_files = 'Classes/*.h'
s.module_map = 'Framework/Lumberjack/CocoaLumberjack.modulemap'
s.default_subspecs = 'Default', 'Extensions'
s.subspec 'Default' do |ss|
ss.source_files = 'Classes/CocoaLumberjack.{h,m}'
ss.dependency 'CocoaLumberjack/Core'
end
s.subspec 'Core' do |ss|
ss.source_files = 'Classes/DD*.{h,m}'
end
s.subspec 'Extensions' do |ss|
ss.source_files = 'Classes/Extensions/*.{h,m}'
ss.dependency 'CocoaLumberjack/Default'
end
s.subspec 'CLI' do |ss|
ss.source_files = 'Classes/CLI/*.{h,m}'
ss.dependency 'CocoaLumberjack/Default'
end
s.subspec 'Swift' do |ss|
ss.ios.deployment_target = '8.0'
ss.osx.deployment_target = '10.10'
ss.source_files = 'Classes/CocoaLumberjack.swift'
ss.dependency 'CocoaLumberjack/Extensions'
end
end