-
Notifications
You must be signed in to change notification settings - Fork 0
/
AppDelegate.podspec
44 lines (40 loc) · 1.38 KB
/
AppDelegate.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
Pod::Spec.new do |spec|
spec.name = 'AppDelegate'
spec.version = '0.2.0'
spec.license = { :type => 'MIT', :file => 'LICENSE' }
spec.homepage = 'https://github.com/jasonnam/AppDelegate'
spec.authors = { 'Jason Nam' => 'contact@jasonnam.com' }
spec.summary = 'Break down app delegate into smaller and single-purpose plugins.'
spec.source = { :git => 'https://github.com/jasonnam/AppDelegate.git', :tag => '0.2.0' }
spec.swift_version = '5.0'
spec.ios.deployment_target = '8.0'
spec.default_subspec = 'Core'
source_files = 'Sources/AppDelegate/*.swift'
spec.subspec 'Core' do |subspec|
subspec.source_files = source_files
end
spec.subspec 'RemoteNotification' do |subspec|
subspec.source_files = source_files
subspec.pod_target_xcconfig = {
'OTHER_SWIFT_FLAGS' => '-DREMOTE_NOTIFICATION'
}
end
spec.subspec 'Fetch' do |subspec|
subspec.source_files = source_files
subspec.pod_target_xcconfig = {
'OTHER_SWIFT_FLAGS' => '-DFETCH'
}
end
spec.subspec 'ApplicationState' do |subspec|
subspec.source_files = source_files
subspec.pod_target_xcconfig = {
'OTHER_SWIFT_FLAGS' => '-DAPPLICATION_STATE'
}
end
spec.subspec 'Scene' do |subspec|
subspec.source_files = source_files
subspec.pod_target_xcconfig = {
'OTHER_SWIFT_FLAGS' => '-DSCENE'
}
end
end