forked from bmoliveira/Moya-ObjectMapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
executable file
·48 lines (40 loc) · 982 Bytes
/
Podfile
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
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
# Our Libraries
def libraries
pod 'Moya-ObjectMapper', :path => "../"
end
def libraries_rx_swift
pod 'Moya-ObjectMapper/RxSwift', :path => "../"
pod 'Moya/RxSwift'
pod 'RxSwift' #, :git => 'https://github.com/ReactiveX/RxSwift'
pod 'RxDataSources'
pod 'RxCocoa'
pod 'RxAlertController'
end
def libraries_reactive_swift
pod 'Moya-ObjectMapper/ReactiveSwift', :path => "../"
pod 'Moya/ReactiveSwift'
pod 'ReactiveSwift', :git => 'https://github.com/ReactiveCocoa/ReactiveSwift'
end
def required_pods
pod 'ObjectMapper' #, :git => 'https://github.com/Hearst-DD/ObjectMapper'
pod 'Moya' #, :git => 'https://github.com/Moya/Moya'
end
# Test Libraries
def test_pods
pod 'Quick'
pod 'Nimble'
pod 'OHHTTPStubs'
end
target 'Demo' do
platform :ios, '9.0'
required_pods
libraries
end
target 'Demo-RxSwift' do
platform :ios, '9.0'
required_pods
libraries
libraries_rx_swift
end