forked from microsoft/fluentui-apple
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MicrosoftFluentUI.podspec
415 lines (348 loc) · 18.4 KB
/
MicrosoftFluentUI.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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
# Constants
ios_root = 'Sources/FluentUI_iOS'
macos_root = 'Sources/FluentUI_macOS'
components_dir = 'Components'
core_dir = 'Core'
resources_dir = 'Resources'
Pod::Spec.new do |s|
s.name = 'MicrosoftFluentUI'
s.version = '0.32.0'
s.summary = 'Fluent UI is a set of reusable UI controls and tools'
s.homepage = "https://www.microsoft.com/design/fluent/#/"
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { "Microsoft" => "[email protected]"}
s.source = { :git => "https://github.com/microsoft/fluentui-apple.git", :tag => "#{s.version}" }
s.swift_version = "5.9"
s.module_name = 'FluentUI'
# iOS
s.ios.deployment_target = "16.0"
s.subspec 'Avatar_ios' do |avatar_ios|
avatar_ios.platform = :ios
avatar_ios.dependency "#{s.name}/Core_ios"
avatar_ios.preserve_paths = ["#{ios_root}/#{components_dir}/Avatar/Avatar.resources.xcfilelist"]
avatar_ios.source_files = ["#{ios_root}/#{components_dir}/Avatar/**/*.{swift,h}"]
end
s.subspec 'AvatarGroup_ios' do |avatargroup_ios|
avatargroup_ios.platform = :ios
avatargroup_ios.dependency "#{s.name}/Avatar_ios"
avatargroup_ios.source_files = ["#{ios_root}/#{components_dir}/AvatarGroup/**/*.{swift,h}"]
end
s.subspec 'ActivityIndicator_ios' do |activityindicator_ios|
activityindicator_ios.platform = :ios
activityindicator_ios.dependency "#{s.name}/Core_ios"
activityindicator_ios.source_files = ["#{ios_root}/#{components_dir}/ActivityIndicator/**/*.{swift,h}"]
end
s.subspec 'BadgeField_ios' do |badgefield_ios|
badgefield_ios.platform = :ios
badgefield_ios.dependency "#{s.name}/Label_ios"
badgefield_ios.source_files = ["#{ios_root}/#{components_dir}/Badge Field/**/*.{swift,h}"]
end
s.subspec 'BarButtonItems_ios' do |barbuttonitems_ios|
barbuttonitems_ios.platform = :ios
barbuttonitems_ios.dependency "#{s.name}/Core_ios"
barbuttonitems_ios.preserve_paths = ["#{ios_root}/#{components_dir}/BarButtonItems/BarButtonItems.resources.xcfilelist"]
barbuttonitems_ios.source_files = ["#{ios_root}/#{components_dir}/BarButtonItems/**/*.{swift,h}"]
end
s.subspec 'BottomCommanding_ios' do |bottomcommanding_ios|
bottomcommanding_ios.platform = :ios
bottomcommanding_ios.dependency "#{s.name}/BottomSheet_ios"
bottomcommanding_ios.dependency "#{s.name}/OtherCells_ios"
bottomcommanding_ios.dependency "#{s.name}/Separator_ios"
bottomcommanding_ios.dependency "#{s.name}/TabBar_ios"
bottomcommanding_ios.dependency "#{s.name}/TableView_ios"
bottomcommanding_ios.preserve_paths = ["#{ios_root}/#{components_dir}/Bottom Commanding/BottomCommanding.resources.xcfilelist"]
bottomcommanding_ios.source_files = ["#{ios_root}/#{components_dir}/Bottom Commanding/**/*.{swift,h}"]
end
s.subspec 'BottomSheet_ios' do |bottomsheet_ios|
bottomsheet_ios.platform = :ios
bottomsheet_ios.dependency "#{s.name}/Obscurable_ios"
bottomsheet_ios.dependency "#{s.name}/ResizingHandleView_ios"
bottomsheet_ios.source_files = ["#{ios_root}/#{components_dir}/Bottom Sheet/**/*.{swift,h}"]
end
s.subspec 'Button_ios' do |button_ios|
button_ios.platform = :ios
button_ios.dependency "#{s.name}/Core_ios"
button_ios.source_files = ["#{ios_root}/#{components_dir}/Button/**/*.{swift,h}"]
end
s.subspec 'Calendar_ios' do |calendar_ios|
calendar_ios.platform = :ios
calendar_ios.dependency "#{s.name}/BarButtonItems_ios"
calendar_ios.dependency "#{s.name}/DotView_ios"
calendar_ios.dependency "#{s.name}/Label_ios"
calendar_ios.dependency "#{s.name}/Presenters_ios"
calendar_ios.dependency "#{s.name}/SegmentedControl_ios"
calendar_ios.dependency "#{s.name}/Separator_ios"
calendar_ios.dependency "#{s.name}/TwoLineTitleView_ios"
calendar_ios.source_files = ["#{ios_root}/#{components_dir}/Calendar/**/*.{swift,h}",
"#{ios_root}/#{components_dir}/Date Time Pickers/**/*.{swift,h}"]
end
s.subspec 'Card_ios' do |card_ios|
card_ios.platform = :ios
card_ios.dependency "#{s.name}/Label_ios"
card_ios.source_files = ["#{ios_root}/#{components_dir}/Card/**/*.{swift,h}"]
end
s.subspec 'CardNudge_ios' do |cardnudge_ios|
cardnudge_ios.platform = :ios
cardnudge_ios.dependency "#{s.name}/Core_ios"
cardnudge_ios.source_files = ["#{ios_root}/#{components_dir}/Card Nudge/**/*.{swift,h}"]
end
s.subspec 'CommandBar_ios' do |commandbar_ios|
commandbar_ios.platform = :ios
commandbar_ios.dependency "#{s.name}/Core_ios"
commandbar_ios.source_files = ["#{ios_root}/#{components_dir}/Command Bar/**/*.{swift,h}"]
end
s.subspec 'Core_ios' do |core_ios|
core_ios.platform = :ios
core_ios.resource_bundle = { 'FluentUIResources-ios' => ["#{ios_root}/#{resources_dir}/**/*.{storyboard,xib,xcassets,strings,stringsdict}"] }
core_ios.script_phase = { :name => 'Optimize resource bundle',
:script => 'REMOVE_UNUSED_RESOURCES_SCRIPT_PATH=${PODS_TARGET_SRCROOT}/scripts/removeUnusedResourcesFromAssets.swift
# Executes only once per "pod install" (if the script file exists)
if [ -f ${REMOVE_UNUSED_RESOURCES_SCRIPT_PATH} ]; then
echo "=== Removing unused resources from FluentUI-ios.xcassets ==="
XCODEBUILDPARAMS="-quiet "
if [ "${CONFIGURATION}" = "Debug" ]; then
CONDITIONALCOMPILATIONFLAGS="-D VERBOSE_OUTPUT"
XCODEBUILDPARAMS=""
fi
xcrun --sdk macosx swift ${CONDITIONALCOMPILATIONFLAGS} ${REMOVE_UNUSED_RESOURCES_SCRIPT_PATH} ${LOCROOT}/MicrosoftFluentUI/Sources/FluentUI_iOS/Resources/FluentUI-ios.xcassets ${LOCROOT}/MicrosoftFluentUI/Sources/FluentUI_iOS
echo "=== Rebuilding resource bundle target ==="
xcodebuild ${XCODEBUILDPARAMS} DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING=1 -project ${PROJECT_FILE_PATH} -target "MicrosoftFluentUI-FluentUIResources-ios" -sdk ${PLATFORM_NAME} -configuration ${CONFIGURATION} ARCHS="${ARCHS}" CONFIGURATION_BUILD_DIR="${CONFIGURATION_BUILD_dir}/" BUILD_ROOT="${BUILD_ROOT}" BUILT_PRODUCTS_DIR="${BUILT_PRODUCTS_dir}/" ${ACTION}
# Deletes the script to ensure it will not be needlessly executed more than once after each "pod install"
rm ${REMOVE_UNUSED_RESOURCES_SCRIPT_PATH}
fi', :execution_position => :before_compile }
core_ios.preserve_paths = ["#{ios_root}/#{core_dir}/Core.resources.xcfilelist",
"scripts/removeUnusedResourcesFromAssets.swift"]
core_ios.source_files = ["#{ios_root}/#{core_dir}/**/*.{swift,h}"]
end
s.subspec 'DotView_ios' do |dotview_ios|
dotview_ios.platform = :ios
dotview_ios.dependency "#{s.name}/Core_ios"
dotview_ios.source_files = ["#{ios_root}/#{components_dir}/DotView/**/*.{swift,h}"]
end
s.subspec 'Drawer_ios' do |drawer_ios|
drawer_ios.platform = :ios
drawer_ios.dependency "#{s.name}/Obscurable_ios"
drawer_ios.dependency "#{s.name}/ResizingHandleView_ios"
drawer_ios.dependency "#{s.name}/Separator_ios"
drawer_ios.dependency "#{s.name}/TouchForwardingView_ios"
drawer_ios.source_files = ["#{ios_root}/#{components_dir}/Drawer/**/*.{swift,h}"]
end
s.subspec 'EasyTapButton_ios' do |easytapbutton_ios|
easytapbutton_ios.platform = :ios
easytapbutton_ios.dependency "#{s.name}/Core_ios"
easytapbutton_ios.source_files = ["#{ios_root}/#{components_dir}/EasyTapButton/**/*.{swift,h}"]
end
s.subspec 'HUD_ios' do |hud_ios|
hud_ios.platform = :ios
hud_ios.dependency "#{s.name}/ActivityIndicator_ios"
hud_ios.dependency "#{s.name}/Label_ios"
hud_ios.dependency "#{s.name}/TouchForwardingView_ios"
hud_ios.preserve_paths = ["#{ios_root}/#{components_dir}/HUD/HUD.resources.xcfilelist"]
hud_ios.source_files = ["#{ios_root}/#{components_dir}/HUD/**/*.{swift,h}"]
end
s.subspec 'IndeterminateProgressBar_ios' do |indeterminateprogressbar_ios|
indeterminateprogressbar_ios.platform = :ios
indeterminateprogressbar_ios.dependency "#{s.name}/Core_ios"
indeterminateprogressbar_ios.source_files = ["#{ios_root}/#{components_dir}/IndeterminateProgressBar/**/*.{swift,h}"]
end
s.subspec 'Label_ios' do |label_ios|
label_ios.platform = :ios
label_ios.dependency "#{s.name}/Core_ios"
label_ios.source_files = ["#{ios_root}/#{components_dir}/Label/**/*.{swift,h}"]
end
s.subspec 'ListItem_ios' do |listitem_ios|
listitem_ios.platform = :ios
listitem_ios.dependency "#{s.name}/OtherCells_ios"
listitem_ios.dependency "#{s.name}/Separator_ios"
listitem_ios.dependency "#{s.name}/TableViewListShared_ios"
listitem_ios.source_files = ["#{ios_root}/#{components_dir}/List/**/*.swift"]
end
s.subspec 'MultilineCommandBar_ios' do |multilinecommandbar_ios|
multilinecommandbar_ios.platform = :ios
multilinecommandbar_ios.dependency "#{s.name}/BottomSheet_ios"
multilinecommandbar_ios.dependency "#{s.name}/CommandBar_ios"
multilinecommandbar_ios.dependency "#{s.name}/Core_ios"
multilinecommandbar_ios.source_files = ["#{ios_root}/#{components_dir}/MultilineCommandBar/**/*.{swift,h}"]
end
s.subspec 'Navigation_ios' do |navigation_ios|
navigation_ios.platform = :ios
navigation_ios.dependency "#{s.name}/ActivityIndicator_ios"
navigation_ios.dependency "#{s.name}/Avatar_ios"
navigation_ios.dependency "#{s.name}/Separator_ios"
navigation_ios.dependency "#{s.name}/TwoLineTitleView_ios"
navigation_ios.preserve_paths = ["#{ios_root}/#{components_dir}/Navigation/Navigation.resources.xcfilelist"]
navigation_ios.source_files = ["#{ios_root}/#{components_dir}/Navigation/**/*.{swift,h}"]
end
s.subspec 'Notification_ios' do |notification_ios|
notification_ios.platform = :ios
notification_ios.dependency "#{s.name}/Obscurable_ios"
notification_ios.dependency "#{s.name}/Label_ios"
notification_ios.preserve_paths = ["#{ios_root}/#{components_dir}/Notification/Notification.resources.xcfilelist"]
notification_ios.source_files = ["#{ios_root}/#{components_dir}/Notification/**/*.{swift,h}"]
end
s.subspec 'Obscurable_ios' do |obscurable_ios|
obscurable_ios.platform = :ios
obscurable_ios.dependency "#{s.name}/Core_ios"
obscurable_ios.source_files = ["#{ios_root}/#{components_dir}/Obscurable/**/*.{swift,h}"]
end
s.subspec 'OtherCells_ios' do |othercells_ios|
othercells_ios.platform = :ios
othercells_ios.dependency "#{s.name}/ActivityIndicator_ios"
othercells_ios.dependency "#{s.name}/TableView_ios"
othercells_ios.preserve_paths = ["#{ios_root}/#{components_dir}/Other Cells/OtherCells.resources.xcfilelist"]
othercells_ios.source_files = ["#{ios_root}/#{components_dir}/Other Cells/**/*.{swift,h}"]
end
s.subspec 'PeoplePicker_ios' do |peoplepicker_ios|
peoplepicker_ios.platform = :ios
peoplepicker_ios.dependency "#{s.name}/Avatar_ios"
peoplepicker_ios.dependency "#{s.name}/BadgeField_ios"
peoplepicker_ios.dependency "#{s.name}/Separator_ios"
peoplepicker_ios.dependency "#{s.name}/OtherCells_ios"
peoplepicker_ios.source_files = ["#{ios_root}/#{components_dir}/People Picker/**/*.{swift,h}"]
end
s.subspec 'PersonaButton_ios' do |personaButton_ios|
personaButton_ios.platform = :ios
personaButton_ios.dependency "#{s.name}/Avatar_ios"
personaButton_ios.source_files = ["#{ios_root}/#{components_dir}/PersonaButton/**/*.{swift,h}"]
end
s.subspec 'PersonaButtonCarousel_ios' do |personaButtonCarousel_ios|
personaButtonCarousel_ios.platform = :ios
personaButtonCarousel_ios.dependency "#{s.name}/PersonaButton_ios"
personaButtonCarousel_ios.source_files = ["#{ios_root}/#{components_dir}/PersonaButtonCarousel/**/*.{swift,h}"]
end
s.subspec 'PillButtonBar_ios' do |pillbuttonbar_ios|
pillbuttonbar_ios.platform = :ios
pillbuttonbar_ios.dependency "#{s.name}/Core_ios"
pillbuttonbar_ios.source_files = ["#{ios_root}/#{components_dir}/Pill Button Bar/**/*.{swift,h}"]
end
s.subspec 'PopupMenu_ios' do |popupmenu_ios|
popupmenu_ios.platform = :ios
popupmenu_ios.dependency "#{s.name}/Drawer_ios"
popupmenu_ios.dependency "#{s.name}/Label_ios"
popupmenu_ios.dependency "#{s.name}/Separator_ios"
popupmenu_ios.dependency "#{s.name}/TableView_ios"
popupmenu_ios.source_files = ["#{ios_root}/#{components_dir}/Popup Menu/**/*.{swift,h}"]
end
s.subspec 'Presenters_ios' do |presenters_ios|
presenters_ios.platform = :ios
presenters_ios.dependency "#{s.name}/Obscurable_ios"
presenters_ios.source_files = ["#{ios_root}/#{components_dir}/Presenters/**/*.{swift,h}"]
end
s.subspec 'ResizingHandleView_ios' do |resizinghandleview_ios|
resizinghandleview_ios.platform = :ios
resizinghandleview_ios.dependency "#{s.name}/Core_ios"
resizinghandleview_ios.source_files = ["#{ios_root}/#{components_dir}/ResizingHandleView/**/*.{swift,h}"]
end
s.subspec 'SegmentedControl_ios' do |segmentedcontrol_ios|
segmentedcontrol_ios.platform = :ios
segmentedcontrol_ios.dependency "#{s.name}/Separator_ios"
segmentedcontrol_ios.source_files = ["#{ios_root}/#{components_dir}/SegmentedControl/**/*.{swift,h}"]
end
s.subspec 'Separator_ios' do |separator_ios|
separator_ios.platform = :ios
separator_ios.dependency "#{s.name}/Core_ios"
separator_ios.source_files = ["#{ios_root}/#{components_dir}/Separator/**/*.{swift,h}"]
end
s.subspec 'Shimmer_ios' do |shimmer_ios|
shimmer_ios.platform = :ios
shimmer_ios.dependency "#{s.name}/Core_ios"
shimmer_ios.source_files = ["#{ios_root}/#{components_dir}/Shimmer/**/*.{swift,h}"]
end
s.subspec 'TabBar_ios' do |tabbar_ios|
tabbar_ios.platform = :ios
tabbar_ios.dependency "#{s.name}/Avatar_ios"
tabbar_ios.dependency "#{s.name}/Label_ios"
tabbar_ios.dependency "#{s.name}/Separator_ios"
tabbar_ios.source_files = ["#{ios_root}/#{components_dir}/Tab Bar/**/*.{swift,h}"]
end
s.subspec 'TableView_ios' do |tableview_ios|
tableview_ios.platform = :ios
tableview_ios.dependency "#{s.name}/Label_ios"
tableview_ios.dependency "#{s.name}/Separator_ios"
tableview_ios.dependency "#{s.name}/TableViewListShared_ios"
tableview_ios.preserve_paths = ["#{ios_root}/#{components_dir}/Table View/TableView.resources.xcfilelist"]
tableview_ios.source_files = ["#{ios_root}/#{components_dir}/Table View/**/*.{swift,h}"]
end
s.subspec 'TableViewListShared_ios' do |tableviewlistshared_ios|
tableviewlistshared_ios.platform = :ios
tableviewlistshared_ios.dependency "#{s.name}/Core_ios"
tableviewlistshared_ios.preserve_paths = ["#{ios_root}/#{components_dir}/TableViewListShared/TableViewListShared.resources.xcfilelist"]
tableviewlistshared_ios.source_files = ["#{ios_root}/#{components_dir}/TableViewListShared/**/*.{swift,h}"]
end
s.subspec 'TextField_ios' do |textfield_ios|
textfield_ios.platform = :ios
textfield_ios.dependency "#{s.name}/Button_ios"
textfield_ios.dependency "#{s.name}/Label_ios"
textfield_ios.dependency "#{s.name}/Separator_ios"
textfield_ios.preserve_paths = ["#{ios_root}/#{components_dir}/TextField/TextField.resources.xcfilelist"]
textfield_ios.source_files = ["#{ios_root}/#{components_dir}/TextField/**/*.{swift,h}"]
end
s.subspec 'Tooltip_ios' do |tooltip_ios|
tooltip_ios.platform = :ios
tooltip_ios.dependency "#{s.name}/Label_ios"
tooltip_ios.dependency "#{s.name}/TouchForwardingView_ios"
tooltip_ios.preserve_paths = ["#{ios_root}/#{components_dir}/Tooltip/Tooltip.resources.xcfilelist"]
tooltip_ios.source_files = ["#{ios_root}/#{components_dir}/Tooltip/**/*.{swift,h}"]
end
s.subspec 'TouchForwardingView_ios' do |touchforwardingview_ios|
touchforwardingview_ios.platform = :ios
touchforwardingview_ios.dependency "#{s.name}/Core_ios"
touchforwardingview_ios.source_files = ["#{ios_root}/#{components_dir}/TouchForwardingView/**/*.{swift,h}"]
end
s.subspec 'TwoLineTitleView_ios' do |twoLinetitleview_ios|
twoLinetitleview_ios.platform = :ios
twoLinetitleview_ios.dependency "#{s.name}/EasyTapButton_ios"
twoLinetitleview_ios.dependency "#{s.name}/Label_ios"
twoLinetitleview_ios.preserve_paths = ["#{ios_root}/#{components_dir}/TwoLineTitleView/TwoLineTitleView.resources.xcfilelist"]
twoLinetitleview_ios.source_files = ["#{ios_root}/#{components_dir}/TwoLineTitleView/**/*.{swift,h}"]
end
# Mac
s.osx.deployment_target = "12"
s.subspec 'Appearance_mac' do |appearance_mac|
appearance_mac.platform = :osx
appearance_mac.source_files = ["#{macos_root}/#{components_dir}/Appearance/**/*.{swift,h}"]
end
s.subspec 'AvatarView_mac' do |avatarview_mac|
avatarview_mac.platform = :osx
avatarview_mac.dependency "#{s.name}/Core_mac"
avatarview_mac.dependency "#{s.name}/DynamicColor_mac"
avatarview_mac.source_files = ["#{macos_root}/#{components_dir}/AvatarView/**/*.{swift,h}"]
end
s.subspec 'BadgeView_mac' do |badgeview_mac|
badgeview_mac.platform = :osx
badgeview_mac.dependency "#{s.name}/Core_mac"
badgeview_mac.dependency "#{s.name}/DynamicColor_mac"
badgeview_mac.source_files = ["#{macos_root}/#{components_dir}/Badge/**/*.{swift,h}"]
end
s.subspec 'Button_mac' do |button_mac|
button_mac.platform = :osx
button_mac.dependency "#{s.name}/Core_mac"
button_mac.source_files = ["#{macos_root}/#{components_dir}/Button/**/*.{swift,h}"]
end
s.subspec 'Core_mac' do |core_mac|
core_mac.platform = :osx
core_mac.resource_bundle = { 'FluentUIResources-macos' => ["#{macos_root}/#{resources_dir}/**/*.{storyboard,xib,xcassets,strings,stringsdict}"] }
core_mac.source_files = ["#{macos_root}/#{core_dir}/**/*.{swift,h}"]
end
s.subspec 'DatePicker_mac' do |datepicker_mac|
datepicker_mac.platform = :osx
datepicker_mac.dependency "#{s.name}/Core_mac"
datepicker_mac.dependency "#{s.name}/Appearance_mac"
datepicker_mac.source_files = ["#{macos_root}/#{components_dir}/DatePicker/**/*.{swift,h}"]
end
s.subspec 'DynamicColor_mac' do |dynamiccolor_mac|
dynamiccolor_mac.platform = :osx
dynamiccolor_mac.dependency "#{s.name}/Appearance_mac"
dynamiccolor_mac.source_files = ["#{macos_root}/#{components_dir}/DynamicColor/**/*.{swift,h}"]
end
s.subspec 'Link_mac' do |link_mac|
link_mac.platform = :osx
link_mac.dependency "#{s.name}/Core_mac"
link_mac.source_files = ["#{macos_root}/#{components_dir}/Link/**/*.{swift,h}"]
end
s.subspec 'Separator_mac' do |separator_mac|
separator_mac.platform = :osx
separator_mac.dependency "#{s.name}/Core_mac"
separator_mac.source_files = ["#{macos_root}/#{components_dir}/Separator/**/*.{swift,h}"]
end
end