forked from calebd/SimpleAuth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SimpleAuth.podspec
98 lines (76 loc) · 2.6 KB
/
SimpleAuth.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
92
93
94
95
96
97
98
Pod::Spec.new do |s|
s.name = 'SimpleAuth'
s.version = '0.3.3'
s.summary = 'Simple social authentication for iOS.'
s.homepage = 'https://github.com/calebd/SimpleAuth'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Caleb Davenport' => 'calebmdavenport@gmail.com' }
s.source = { :git => 'https://github.com/calebd/SimpleAuth.git', :tag => "v#{s.version}" }
s.requires_arc = true
s.platform = :ios, '6.0'
s.subspec 'Core' do |ss|
ss.source_files = 'SimpleAuth/**/*.{h,m}'
ss.public_header_files = 'SimpleAuth/SimpleAuth.h'
ss.exclude_files = 'SimpleAuth/UI'
ss.dependency 'ReactiveCocoa'
ss.dependency 'CMDQueryStringSerialization'
end
s.subspec 'UI' do |ss|
ss.dependency 'SimpleAuth/Core'
ss.ios.source_files = 'SimpleAuth/UI/ios/**/*.{h,m}'
ss.ios.frameworks = 'UIKit'
# ss.osx.source_files = 'SimpleAuth/UI/mac/**/*.{h,m}'
# ss.osx.frameworks = 'AppKit'
end
s.subspec 'Twitter' do |ss|
ss.dependency 'SimpleAuth/UI'
ss.source_files = 'Providers/Twitter/**/*.{h,m}'
ss.frameworks = 'Accounts', 'Social'
ss.dependency 'cocoa-oauth'
end
s.subspec 'Facebook' do |ss|
ss.dependency 'SimpleAuth/Core'
ss.source_files = 'Providers/Facebook/**/*.{h,m}'
ss.frameworks = 'Accounts', 'Social'
end
s.subspec 'FacebookWeb' do |ss|
ss.dependency 'SimpleAuth/UI'
ss.source_files = 'Providers/FacebookWeb/**/*.{h,m}'
end
s.subspec 'Instagram' do |ss|
ss.dependency 'SimpleAuth/UI'
ss.source_files = 'Providers/Instagram/**/*.{h,m}'
end
s.subspec 'TwitterWeb' do |ss|
ss.dependency 'SimpleAuth/Core'
ss.dependency 'SimpleAuth/UI'
ss.source_files = 'Providers/TwitterWeb/**/*.{h,m}'
ss.dependency 'cocoa-oauth'
end
s.subspec 'Meetup' do |ss|
ss.dependency 'SimpleAuth/UI'
ss.source_files = 'Providers/Meetup/**/*.{h,m}'
end
s.subspec 'Tumblr' do |ss|
ss.dependency 'SimpleAuth/Core'
ss.dependency 'SimpleAuth/UI'
ss.source_files = 'Providers/Tumblr/**/*.{h,m}'
ss.dependency 'cocoa-oauth'
end
s.subspec 'FoursquareWeb' do |ss|
ss.dependency 'SimpleAuth/UI'
ss.source_files = 'Providers/FoursquareWeb/**/*.{h,m}'
end
s.subspec 'DropboxWeb' do |ss|
ss.dependency 'SimpleAuth/UI'
ss.source_files = 'Providers/DropboxWeb/**/*.{h,m}'
end
s.subspec 'LinkedInWeb' do |ss|
ss.dependency 'SimpleAuth/UI'
ss.source_files = 'Providers/LinkedIn/**/*.{h,m}'
end
s.subspec 'SinaWeiboWeb' do |ss|
ss.dependency 'SimpleAuth/UI'
ss.source_files = 'Providers/SinaWeiboWeb/**/*.{h,m}'
end
end