forked from wisemen-digital/AppwiseCore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAppwiseCore.podspec
More file actions
97 lines (83 loc) · 2.32 KB
/
Copy pathAppwiseCore.podspec
File metadata and controls
97 lines (83 loc) · 2.32 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
Pod::Spec.new do |s|
# info
s.name = 'AppwiseCore'
s.version = '2.0.3'
s.summary = 'Just a library of some stuff we use internally.'
s.description = <<-DESC
Contains a few generic types (appdelegate, config, router, client) and some helper methods.
DESC
s.homepage = 'https://github.com/appwise-labs/AppwiseCore'
s.authors = {
'David Jennes' => 'david.jennes@gmail.com'
}
s.license = {
:type => 'MIT',
:file => 'LICENSE'
}
s.ios.deployment_target = '10.0'
s.swift_version = '5.0'
# files
s.source = {
:git => 'https://github.com/appwise-labs/AppwiseCore.git',
:tag => s.version,
:submodules => true
}
s.preserve_paths = ['Scripts/*', 'Sourcery/*', 'SwiftGen/*', 'XcodeGen/*', 'Fastlane Actions/*']
s.default_subspec = 'Core', 'Behaviours', 'UI', 'UIApplication'
# VC behaviours
s.subspec 'Behaviours' do |ss|
ss.source_files = 'Sources/Behaviours/**/*.swift'
# dependencies
ss.dependency 'AppwiseCore/Common'
ss.dependency 'Then', '~> 3.0'
end
# Common files
s.subspec 'Common' do |ss|
ss.source_files = 'Sources/Common/**/*.swift'
ss.pod_target_xcconfig = {
'SWIFT_ACTIVE_COMPILATION_CONDITIONS[config=Debug]' => 'DEBUG'
}
end
# core spec
s.subspec 'Core' do |ss|
ss.source_files = 'Sources/Core/**/*.swift'
ss.resource_bundles = {
'AppwiseCore-Core' => ['Resources/Core/*.lproj']
}
# dependencies
ss.dependency 'AppwiseCore/Common'
ss.dependency 'Alamofire', '> 5.2'
ss.dependency 'CocoaLumberjack/Swift', '~> 3.6'
ss.dependency 'Sentry', '~> 7.0'
ss.dependency 'Then', '~> 3.0'
end
# coredata
s.subspec 'CoreData' do |ss|
ss.source_files = 'Sources/CoreData/**/*.swift'
# dependencies
ss.dependency 'AppwiseCore/Common'
ss.dependency 'AppwiseCore/Core'
ss.dependency 'Groot', '~> 3.0'
end
# deeplinking
s.subspec 'DeepLink' do |ss|
ss.source_files = 'Sources/DeepLink/**/*.swift'
# dependencies
ss.dependency 'AppwiseCore/Behaviours'
ss.dependency 'AppwiseCore/Common'
end
# UI
s.subspec 'UI' do |ss|
ss.source_files = 'Sources/UI/**/*.swift'
# dependencies
ss.dependency 'AppwiseCore/Core'
ss.dependency 'AppwiseCore/Behaviours'
ss.dependency 'IBAnimatable', '~> 6.1'
end
# UIApplication
s.subspec 'UIApplication' do |ss|
ss.source_files = 'Sources/UIApplication/**/*.swift'
# dependencies
ss.dependency 'AppwiseCore/Core'
end
end