forked from juansanzone/fury_mobile-ios-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MLUI.podspec
177 lines (152 loc) · 7.08 KB
/
MLUI.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
Pod::Spec.new do |s|
s.name = "MLUI"
s.version = "5.14.0"
s.summary = "MercadoLibre mobile ios UI components"
s.homepage = "https://github.com/mercadolibre"
s.license = "Apache License, Version 2.0"
s.author = { "mobile arquitectura @ meli" => "[email protected]" }
s.source = { :git => "https://github.com/mercadolibre/fury_mobile-ios-ui.git", :tag => s.version.to_s }
s.platform = :ios, '9.0'
s.requires_arc = true
s.subspec 'StyleSheet' do |styleSheet|
styleSheet.source_files = "LibraryComponents/StyleSheet/classes/*.{h,m}"
end
s.subspec 'Helpers' do |helpers|
helpers.source_files = "LibraryComponents/Helpers/classes/*.{h,m}"
end
s.subspec 'Core' do |core|
core.source_files = "LibraryComponents/Core/classes/*.{h,m,c}"
core.dependency 'MLUI/MLFonts'
end
s.subspec 'ActionButton' do |actionButton|
actionButton.source_files = "LibraryComponents/ActionButton/classes/*.{h,m}"
actionButton.dependency 'MLUI/Core'
end
s.subspec 'PriceView' do |priceView|
priceView.source_files = "LibraryComponents/PriceView/classes/*.{h,m}"
priceView.resources = "LibraryComponents/PriceView/classes/*.xib"
priceView.dependency 'MLUI/Core'
priceView.dependency 'MLUI/MLFonts'
end
s.subspec 'SnackBarView' do |snackBarView|
snackBarView.source_files = "LibraryComponents/MLUISnackbar/classes/*.{h,m}"
snackBarView.resources = "LibraryComponents/MLUISnackbar/classes/*.xib"
snackBarView.dependency 'MLUI/Helpers'
snackBarView.dependency 'MLUI/MLFonts'
end
s.subspec 'MLTitledSingleLineTextField' do |textField|
textField.source_files = "LibraryComponents/MLTitledSingleLineTextField/classes/*.{h,m}"
textField.resources = "LibraryComponents/MLTitledSingleLineTextField/assets/*"
textField.dependency 'MLUI/MLColorPalette'
textField.dependency 'MLUI/MLFonts'
textField.dependency 'MLUI/StyleSheet'
end
s.subspec 'MLTitledMultiLineTextField' do |textField|
textField.source_files = "LibraryComponents/MLTitledMultiLineTextField/classes/*.{h,m}"
textField.dependency 'MLUI/MLColorPalette'
textField.dependency 'MLUI/MLFonts'
textField.dependency 'MLUI/MLTitledSingleLineTextField'
textField.dependency 'MLUI/StyleSheet'
end
s.subspec 'MLColorPalette' do |mlcolorpalette|
mlcolorpalette.source_files = "LibraryComponents/MLColorPalette/classes/*.{h,m}"
end
s.subspec 'MLFonts' do |mlfonts|
mlfonts.source_files = "LibraryComponents/MLFonts/classes/*.{h,m}"
mlfonts.dependency 'JRSwizzle', '1.0'
mlfonts.dependency 'MLUI/Helpers'
mlfonts.dependency 'MLUI/StyleSheet'
end
s.subspec 'MLFullscreenModal' do |mlfullmodal|
mlfullmodal.source_files = "LibraryComponents/MLFullscreenModal/classes/*.{h,m}"
mlfullmodal.resources = "LibraryComponents/MLFullscreenModal/classes/*.xib","LibraryComponents/MLFullscreenModal/assets/*"
mlfullmodal.dependency 'MLUI/MLColorPalette'
mlfullmodal.dependency 'MLUI/MLFonts'
mlfullmodal.dependency 'MLUI/MLButton'
mlfullmodal.dependency 'FXBlurView', '~> 1.6'
mlfullmodal.dependency 'MLUI/Core'
mlfullmodal.dependency 'MLUI/StyleSheet'
mlfullmodal.dependency 'MLUI/MLHeader'
end
s.subspec 'MLHeader' do |mlheader|
mlheader.source_files = "LibraryComponents/MLHeader/classes/*.{h,m}"
mlheader.resources = "LibraryComponents/MLHeader/classes/*.xib"
mlheader.dependency 'MLUI/StyleSheet'
mlheader.dependency 'MLUI/MLColorPalette'
end
s.subspec 'MLHtml' do |mlhtml|
mlhtml.source_files = "LibraryComponents/MLHtml/classes/*.{h,m}"
mlhtml.dependency 'MLUI/MLFonts'
end
s.subspec 'MLButton' do |mlbutton|
mlbutton.source_files = "LibraryComponents/MLButton/classes/*.{h,m}"
mlbutton.dependency 'MLUI/MLColorPalette'
mlbutton.dependency 'MLUI/MLFonts'
mlbutton.dependency 'MLUI/MLSpinner'
mlbutton.dependency 'MLUI/StyleSheet'
mlbutton.dependency 'MLUI/Core'
end
s.subspec 'MLModal' do |mlmodal|
mlmodal.source_files = "LibraryComponents/MLModal/classes/*.{h,m}"
mlmodal.resources = "LibraryComponents/MLModal/classes/*.xib","LibraryComponents/MLModal/assets/*"
mlmodal.dependency 'MLUI/MLColorPalette'
mlmodal.dependency 'MLUI/MLFonts'
mlmodal.dependency 'MLUI/MLButton'
mlmodal.dependency 'FXBlurView', '~> 1.6'
mlmodal.dependency 'MLUI/Core'
mlmodal.dependency 'MLUI/StyleSheet'
end
s.subspec 'MLSnackBar' do |mlsnackbar|
mlsnackbar.source_files = "LibraryComponents/MLSnackBar/classes/*.{h,m}"
mlsnackbar.resources = "LibraryComponents/MLSnackBar/classes/*.xib"
mlsnackbar.dependency 'MLUI/MLColorPalette'
mlsnackbar.dependency 'MLUI/MLFonts'
mlsnackbar.dependency 'MLUI/MLButton'
mlsnackbar.dependency 'MLUI/Helpers'
end
s.subspec 'MLSpinner' do |mlspinner|
mlspinner.source_files = "LibraryComponents/MLSpinner/classes/*.{h,m}"
mlspinner.resources = "LibraryComponents/MLSpinner/classes/*.xib"
mlspinner.dependency 'MLUI/MLColorPalette'
mlspinner.dependency 'MLUI/MLFonts'
mlspinner.dependency 'MLUI/StyleSheet'
end
s.subspec 'MLContextualMenu' do |mllongpressmenu|
mllongpressmenu.dependency 'MLUI/MLColorPalette'
mllongpressmenu.dependency 'MLUI/MLFonts'
mllongpressmenu.source_files = "LibraryComponents/MLContextualMenu/*.{h,m}"
end
s.subspec 'MLRadioButton' do |mlradiobutton|
mlradiobutton.source_files = ["LibraryComponents/MLBooleanWidget/MLRadioButton/classes/*.{h,m}", "LibraryComponents/MLBooleanWidget/classes/*.{h,m}"]
mlradiobutton.dependency 'MLUI/MLColorPalette'
end
s.subspec 'MLCheckBox' do |mlcheckbox|
mlcheckbox.source_files = ["LibraryComponents/MLBooleanWidget/MLCheckBox/classes/*.{h,m}", "LibraryComponents/MLBooleanWidget/classes/*.{h,m}"]
mlcheckbox.dependency 'MLUI/MLColorPalette'
mlcheckbox.dependency 'MLUI/StyleSheet'
end
s.subspec 'MLSwitch' do |mlswitch|
mlswitch.source_files = ["LibraryComponents/MLBooleanWidget/MLSwitch/classes/*.{h,m}", "LibraryComponents/MLBooleanWidget/classes/*.{h,m}"]
mlswitch.resources = "LibraryComponents/MLBooleanWidget/MLSwitch/classes/*.xib"
mlswitch.dependency 'MLUI/MLColorPalette'
mlswitch.dependency 'MLUI/Helpers'
end
s.subspec 'MLSpacing' do |mlspacing|
mlspacing.source_files = "LibraryComponents/MLSpacing/classes/*.{h,m}"
mlspacing.dependency 'MLUI/MLFonts'
mlspacing.dependency 'JRSwizzle', '1.0'
end
s.subspec 'MLGenericErrorView' do |mlerrorview|
mlerrorview.source_files = "LibraryComponents/MLGenericErrorView/classes/*.{h,m}"
mlerrorview.resources = "LibraryComponents/MLGenericErrorView/classes/*.xib"
mlerrorview.dependency 'MLUI/MLColorPalette'
mlerrorview.dependency 'MLUI/MLButton'
mlerrorview.dependency 'MLUI/MLSpacing'
end
s.subspec 'MLTextView' do |mltextView|
mltextView.source_files = "LibraryComponents/MLTextView/classes/*.{h,m}"
mltextView.resources = "LibraryComponents/MLTextView/assets/*"
mltextView.dependency 'MLUI/MLColorPalette'
mltextView.dependency 'MLUI/MLFonts'
end
end