-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathAdaptiveCards-Mobile.podspec
More file actions
87 lines (72 loc) · 3.17 KB
/
AdaptiveCards-Mobile.podspec
File metadata and controls
87 lines (72 loc) · 3.17 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
Pod::Spec.new do |s|
s.name = 'AdaptiveCards-Mobile'
s.version = '0.0.1'
s.summary = 'Cross-platform Adaptive Cards v1.6 rendering SDK for iOS'
s.description = <<-DESC
SwiftUI-based rendering library for Adaptive Cards v1.6. Provides standalone parsing,
configurable rendering, built-in caching, and Teams integration adapters.
DESC
s.homepage = 'https://github.com/AzureAD/AdaptiveCards-Mobile'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Microsoft' => 'AzureAD@microsoft.com' }
s.source = { :git => 'https://github.com/AzureAD/AdaptiveCards-Mobile.git', :tag => s.version.to_s }
s.ios.deployment_target = '16.0'
s.swift_version = '5.9'
# --- Subspecs ---
s.subspec 'ACCore' do |core|
core.source_files = 'ios/Sources/ACCore/**/*.swift'
core.resource_bundles = { 'ACCore' => ['ios/Sources/ACCore/Resources/**/*'] }
end
s.subspec 'ACAccessibility' do |acc|
acc.source_files = 'ios/Sources/ACAccessibility/**/*.swift'
acc.dependency 'AdaptiveCards-Mobile/ACCore'
end
s.subspec 'ACTemplating' do |tmpl|
tmpl.source_files = 'ios/Sources/ACTemplating/**/*.swift'
tmpl.dependency 'AdaptiveCards-Mobile/ACCore'
end
s.subspec 'ACMarkdown' do |md|
md.source_files = 'ios/Sources/ACMarkdown/**/*.swift'
end
s.subspec 'ACFluentUI' do |fluent|
fluent.source_files = 'ios/Sources/ACFluentUI/**/*.swift'
end
s.subspec 'ACCharts' do |charts|
charts.source_files = 'ios/Sources/ACCharts/**/*.swift'
charts.dependency 'AdaptiveCards-Mobile/ACCore'
charts.dependency 'AdaptiveCards-Mobile/ACFluentUI'
end
s.subspec 'ACInputs' do |inputs|
inputs.source_files = 'ios/Sources/ACInputs/**/*.swift'
inputs.dependency 'AdaptiveCards-Mobile/ACCore'
inputs.dependency 'AdaptiveCards-Mobile/ACAccessibility'
end
s.subspec 'ACActions' do |actions|
actions.source_files = 'ios/Sources/ACActions/**/*.swift'
actions.dependency 'AdaptiveCards-Mobile/ACCore'
actions.dependency 'AdaptiveCards-Mobile/ACAccessibility'
actions.dependency 'AdaptiveCards-Mobile/ACFluentUI'
end
s.subspec 'ACRendering' do |rendering|
rendering.source_files = 'ios/Sources/ACRendering/**/*.swift'
rendering.dependency 'AdaptiveCards-Mobile/ACCore'
rendering.dependency 'AdaptiveCards-Mobile/ACInputs'
rendering.dependency 'AdaptiveCards-Mobile/ACActions'
rendering.dependency 'AdaptiveCards-Mobile/ACAccessibility'
rendering.dependency 'AdaptiveCards-Mobile/ACMarkdown'
rendering.dependency 'AdaptiveCards-Mobile/ACCharts'
rendering.dependency 'AdaptiveCards-Mobile/ACFluentUI'
rendering.dependency 'AdaptiveCards-Mobile/ACTemplating'
end
s.subspec 'ACCopilotExtensions' do |copilot|
copilot.source_files = 'ios/Sources/ACCopilotExtensions/**/*.swift'
copilot.dependency 'AdaptiveCards-Mobile/ACCore'
end
s.subspec 'ACTeams' do |teams|
teams.source_files = 'ios/Sources/ACTeams/**/*.swift'
teams.dependency 'AdaptiveCards-Mobile/ACCore'
teams.dependency 'AdaptiveCards-Mobile/ACRendering'
end
# Default subspecs for simple installation
s.default_subspecs = ['ACCore', 'ACRendering']
end