-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMini-Swift.podspec
91 lines (64 loc) · 2.73 KB
/
Mini-Swift.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
# frozen_string_literal: true
Pod::Spec.new do |s|
s.name = 'Mini-Swift'
s.version = '3.0.4'
s.swift_version = '5.0'
s.summary = 'The minimal expression of a Flux architecture in Swift.'
s.description = <<~DESC
The minimal expression of a Flux architecture in Swift.
Mini is built with be a first class citizen in Swift applications: macOS, iOS and tvOS applications.
With Mini, you can create a thread-safe application with a predictable unidirectional data flow,
focusing on what really matters: build awesome applications.
DESC
s.homepage = 'https://github.com/bq/Mini-Swift'
s.license = { type: 'APACHE', file: 'LICENSE' }
s.author = { 'bq' => 'info@bq.com' }
s.source = { git: 'https://github.com/bq/mini-swift.git', tag: "v#{s.version}" }
s.social_media_url = 'https://twitter.com/bqreaders'
s.ios.deployment_target = '11.0'
s.osx.deployment_target = '10.13'
s.tvos.deployment_target = '11.0'
s.frameworks = 'Foundation'
s.dependency('RxSwift', '~> 5')
s.dependency('SwiftNIOConcurrencyHelpers', '~> 2.10.0')
s.default_subspec = 'Core'
s.module_name = 'Mini'
s.subspec('Core') do |ss|
ss.ios.source_files = 'Sources/Mini/**/*.swift'
ss.osx.source_files = 'Sources/Mini/**/*.swift'
ss.tvos.source_files = 'Sources/Mini/**/*.swift'
end
s.subspec('Log') do |ss|
ss.ios.dependency('Mini-Swift/Core')
ss.ios.source_files = 'Sources/LoggingService/*.swift'
ss.osx.dependency('Mini-Swift/Core')
ss.osx.source_files = 'Sources/LoggingService/*.swift'
ss.tvos.dependency('Mini-Swift/Core')
ss.tvos.source_files = 'Sources/LoggingService/*.swift'
end
s.subspec('Test') do |ss|
ss.ios.dependency('Mini-Swift/Core')
ss.ios.source_files = 'Sources/TestMiddleware/*.swift'
ss.osx.dependency('Mini-Swift/Core')
ss.osx.source_files = 'Sources/TestMiddleware/*.swift'
ss.tvos.dependency('Mini-Swift/Core')
ss.tvos.source_files = 'Sources/TestMiddleware/*.swift'
end
s.subspec('MiniTasks') do |ss|
ss.ios.dependency('Mini-Swift/Core')
ss.ios.source_files = 'Sources/MiniTasks/*.swift'
ss.osx.dependency('Mini-Swift/Core')
ss.osx.source_files = 'Sources/MiniTasks/*.swift'
ss.tvos.dependency('Mini-Swift/Core')
ss.tvos.source_files = 'Sources/MiniTasks/*.swift'
end
s.subspec('MiniPromises') do |ss|
ss.ios.dependency('Mini-Swift/Core')
ss.ios.source_files = 'Sources/MiniPromises/*.swift'
ss.osx.dependency('Mini-Swift/Core')
ss.osx.source_files = 'Sources/MiniPromises/*.swift'
ss.tvos.dependency('Mini-Swift/Core')
ss.tvos.source_files = 'Sources/MiniPromises/*.swift'
end
s.preserve_paths = ['Templates/*.stencil']
end