-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathAppRouter.podspec
executable file
·45 lines (36 loc) · 1.4 KB
/
AppRouter.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
Pod::Spec.new do |s|
s.name = "AppRouter"
s.version = "5.1.0"
s.summary = "UIViewController creation, navigation, utility methods for easy routing"
s.homepage = "https://github.com/MLSDev/AppRouter"
s.license = "MIT"
s.author = { "Artem Antihevich" => "sinarionn@gmail.com" }
s.social_media_url = 'https://twitter.com/sinarionn'
s.ios.deployment_target = "9.0"
s.source = { :git => "https://github.com/MLSDev/AppRouter.git", :tag => s.version.to_s }
s.requires_arc = true
s.default_subspec = 'Core'
s.ios.frameworks = 'UIKit', 'Foundation'
s.subspec 'Core' do |core|
core.source_files = 'Sources/Core/*.swift'
core.ios.deployment_target = "9.0"
end
s.subspec 'Route' do |route|
route.source_files = 'Sources/Route/AppRouter+route.swift'
route.dependency 'AppRouter/Core'
route.dependency 'RxCocoa', '~> 4.0'
route.dependency 'ReusableView', '~> 2.0'
route.ios.deployment_target = "9.0"
route.subspec 'Dip' do |dip|
dip.source_files = 'Sources/Route/*.swift'
dip.dependency 'Dip', '~> 7.0'
dip.ios.deployment_target = "9.0"
end
end
s.subspec 'RxSwift' do |rxswift|
rxswift.ios.deployment_target = "9.0"
rxswift.osx.deployment_target = "10.10"
rxswift.dependency 'RxCocoa', '~> 4.0'
rxswift.source_files = 'Sources/RxSwift/*.swift'
end
end