-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCoreRepository.podspec
82 lines (70 loc) · 3.08 KB
/
CoreRepository.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
#
# Be sure to run `pod lib lint CoreRequest.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'CoreRepository'
s.version = '0.1.0'
s.summary = 'Clean Architecture'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
iOS project code-base inspired by modern architectures: Redux, RIBs
DESC
s.homepage = 'https://github.com/dungntm58/iOSCore'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
# s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'dungntm58' => '[email protected]' }
s.source = { :git => 'https://github.com/dungntm58/iOSCore', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.platform = :ios
s.module_name = 'CoreRepository'
s.swift_version = "5.5"
s.framework = "Foundation"
s.default_subspecs = 'Basics', 'DataStore', 'Request', 'Remote', 'Local', 'RemoteLocal'
s.subspec 'Basics' do |ss|
ss.source_files = 'Sources/Repository/Shared/Basics/**/*', 'Sources/Repository/Combine/Basics/**/*'
ss.ios.deployment_target = '13.0'
ss.framework = 'Combine'
end
s.subspec 'DataStore' do |ss|
ss.source_files = 'Sources/Repository/Shared/DataStore/**/*', 'Sources/Repository/Combine/DataStore/**/*'
ss.ios.deployment_target = '13.0'
ss.framework = 'Combine'
ss.dependency 'CoreRepository/Basics'
end
s.subspec 'Request' do |ss|
ss.source_files = 'Sources/Repository/Shared/Request/**/*', 'Sources/Repository/Combine/Request/**/*'
ss.ios.deployment_target = '13.0'
ss.framework = 'Combine'
ss.dependency 'Alamofire'
ss.dependency 'CoreRepository/Basics'
end
s.subspec 'Remote' do |ss|
ss.source_files = 'Sources/Repository/Shared/Remote/**/*', 'Sources/Repository/Combine/Remote/**/*'
ss.ios.deployment_target = '13.0'
ss.framework = 'Combine'
ss.dependency 'CoreRepository/Basics'
ss.dependency 'CoreRepository/Request'
end
s.subspec 'Local' do |ss|
ss.source_files = 'Sources/Repository/Shared/Local/**/*', 'Sources/Repository/Combine/Local/**/*'
ss.ios.deployment_target = '13.0'
ss.framework = 'Combine'
ss.dependency 'CoreRepository/Basics'
ss.dependency 'CoreRepository/DataStore'
end
s.subspec 'RemoteLocal' do |ss|
ss.source_files = 'Sources/Repository/Shared/RemoteLocal/**/*', 'Sources/Repository/Combine/RemoteLocal/**/*'
ss.ios.deployment_target = '13.0'
ss.framework = 'Combine'
ss.dependency 'CoreRepository/Remote'
ss.dependency 'CoreRepository/Local'
end
end