-
Notifications
You must be signed in to change notification settings - Fork 32
/
Alicerce.podspec
105 lines (85 loc) · 3.74 KB
/
Alicerce.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
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
98
99
100
101
102
103
104
105
Pod::Spec.new do |s|
s.name = 'Alicerce'
s.version = '0.18.0'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.homepage = 'https://github.com/Mindera/Alicerce.git'
s.authors = { 'Mindera' => '[email protected]' }
s.summary = 'A base for iOS Applications made with ❤️ by Mindera 🤠'
s.description = <<-DESC
Ever felt that you keep repeating yourself every time you start a new project? That you would like to have all those useful utils and helpers you love already available? We felt that way too! Thus, Alicerce was born. 🏗
Alicerce is a framework that aims to serve as a starting point for iOS applications, by providing the foundations for many of the common functionalities a modern application requires, as well as be a repository for those small utils and helpers that make our life easier.
It is designed with an MVVM architecture in mind, but you'll find most components are architecture agnostic.
DESC
s.source = { :git => 'https://github.com/Mindera/Alicerce.git', :tag => "#{s.version}" }
s.module_name = 'Alicerce'
s.swift_version = '5.9'
s.ios.deployment_target = '13.0'
s.subspec 'Core' do |ss|
ss.source_files = 'Sources/{Utils,Shared}/**/*.swift'
ss.dependency 'Alicerce/Extensions/Foundation'
end
s.subspec 'Analytics' do |ss|
ss.source_files = 'Sources/Analytics/**/*.swift'
ss.dependency 'Alicerce/Core'
end
s.subspec 'AutoLayout' do |ss|
ss.source_files = 'Sources/AutoLayout/*.swift'
ss.dependency 'Alicerce/Extensions/UIKit'
ss.frameworks = 'UIKit'
end
s.subspec 'DeepLinking' do |ss|
ss.source_files = 'Sources/DeepLinking/**/*.swift'
ss.dependency 'Alicerce/Core'
ss.frameworks = 'UIKit'
end
s.subspec 'Extensions' do |ss|
ss.subspec 'Foundation' do |sss|
sss.source_files = 'Sources/Extensions/Foundation/*.{swift,h,m}'
sss.frameworks = 'Foundation'
end
ss.subspec 'UIKit' do |sss|
sss.source_files = 'Sources/Extensions/UIKit/*.{swift,h,m}'
sss.frameworks = 'UIKit'
end
end
s.subspec 'Logging' do |ss|
ss.source_files = 'Sources/Logging/**/*.swift'
ss.dependency 'Alicerce/Core'
end
s.subspec 'Network' do |ss|
ss.source_files = 'Sources/Network/**/*.swift'
ss.dependency 'Alicerce/Core'
ss.frameworks = 'Security', 'CryptoKit'
end
s.subspec 'Observers' do |ss|
ss.source_files = 'Sources/Observers/**/*.swift'
ss.frameworks = 'UIKit'
end
s.subspec 'PerformanceMetrics' do |ss|
ss.source_files = 'Sources/PerformanceMetrics/**/*.swift'
ss.dependency 'Alicerce/Core'
end
s.subspec 'Persistence' do |ss|
ss.source_files = 'Sources/Persistence/*.swift'
ss.dependency 'Alicerce/Core'
ss.dependency 'Alicerce/Logging'
ss.dependency 'Alicerce/PerformanceMetrics'
ss.subspec 'CoreData' do |sss|
sss.source_files = 'Sources/Persistence/CoreData/*.{swift,h,m}'
sss.frameworks = 'CoreData'
end
end
s.subspec 'StackOrchestrator' do |ss|
ss.source_files = 'Sources/StackOrchestrator/**/*.swift'
ss.dependency 'Alicerce/Core'
ss.dependency 'Alicerce/Logging'
ss.dependency 'Alicerce/Network'
ss.dependency 'Alicerce/Persistence'
ss.dependency 'Alicerce/PerformanceMetrics'
end
s.subspec 'View' do |ss|
ss.source_files = 'Sources/View/**/*.swift'
ss.dependency 'Alicerce/Core'
ss.frameworks = 'UIKit'
end
end