-
Notifications
You must be signed in to change notification settings - Fork 1
/
Asynchronous.podspec
75 lines (62 loc) · 2.71 KB
/
Asynchronous.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
#
# Be sure to run `pod lib lint Asynchronous.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 http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'Asynchronous'
s.version = '0.2.0'
s.summary = 'Implementation agnostic asynchronous code'
s.default_subspecs = 'Core'
# 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
Async is a one-stop shop for your async needs, the user can use the subspecs
to automatically run the Async code using completion handlers, BrightFutures,
HydraAsync, PromiseKit, Promises, then and much more!
DESC
s.homepage = 'https://github.com/fpg1503/Asynchronous'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'fpg1503' => 'fpg1503@gmail.com' }
s.source = { :git => 'https://github.com/fpg1503/Asynchronous.git', :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/fpg1503'
s.ios.deployment_target = '9.0'
s.subspec 'Core' do |core|
core.dependency 'Result'
core.source_files = 'Asynchronous/Core/*.swift'
end
s.subspec 'BrightFutures' do |brightFutures|
brightFutures.dependency 'BrightFutures'
brightFutures.source_files = 'Asynchronous/Extensions/Async+BrightFutures.swift'
end
s.subspec 'PromiseKit' do |promiseKit|
promiseKit.dependency 'PromiseKit'
promiseKit.source_files = 'Asynchronous/Extensions/Async+PromiseKit.swift'
end
s.subspec 'Promises' do |promises|
promises.dependency 'Promises'
promises.source_files = 'Asynchronous/Extensions/Async+Promises.swift'
end
s.subspec 'HydraAsync' do |hydraAsync|
hydraAsync.dependency 'HydraAsync'
hydraAsync.source_files = 'Asynchronous/Extensions/Async+HydraAsync.swift'
end
s.subspec 'Then' do |thenPromise|
thenPromise.dependency 'thenPromise'
thenPromise.source_files = 'Asynchronous/Extensions/Async+Then.swift'
end
s.subspec 'Alamofire' do |alamofire|
alamofire.dependency 'Alamofire'
alamofire.source_files = 'Asynchronous/Extensions/Alamofire+Async.swift'
end
s.subspec 'RxSwift' do |rxSwift|
rxSwift.dependency 'RxSwift'
rxSwift.source_files = 'Asynchronous/Extensions/Async+Rx.swift'
end
end