forked from OneDrive/onedrive-sdk-ios
-
Notifications
You must be signed in to change notification settings - Fork 1
/
OneDriveSDK.podspec
75 lines (47 loc) · 2.09 KB
/
OneDriveSDK.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
Pod::Spec.new do |s|
s.name = "OneDriveSDK"
s.version = "1.3.0.1"
s.summary = "OneDrive iOS SDK"
s.description = <<-DESC
Integrate the OneDrive API into your iOS App!
DESC
s.homepage = "https://dev.onedrive.com"
s.license = { :type => "MIT", :file => "LICENSE.txt" }
s.author = { "onedriveapi " => "onedrivesdkowners@microsoft.com" }
s.social_media_url = "http://twitter.com/onedrivedev"
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/OneDrive/onedrive-sdk-ios.git",
:tag => "#{s.version}"}
s.source_files = "OneDriveSDK/OneDriveSDK/OneDriveSDK.h"
s.public_header_files = "OneDriveSDK/OneDriveSDK/OneDriveSDK.h"
s.exclude_files = "Examples/*","OneDriveSDK/Test/*"
s.subspec "Common" do |odp|
odp.source_files = "OneDriveSDK/Common/*.{h,m}"
odp.public_header_files = "OneDriveSDK/Common/*.h"
end
s.subspec "Implementations" do |usm|
usm.dependency 'OneDriveSDK/Common'
usm.source_files = "OneDriveSDK/OneDriveSDK/ODURLSessionManager/*{h,m}", "OneDriveSDK/OneDriveSDK/*{h,m}"
usm.public_header_files = "OneDriveSDK/OneDriveSDK/**/*.h"
usm.exclude_files = "OneDriveSDK/OneDriveSDK/OneDriveSDK.h"
end
s.subspec "Auth" do |oda|
oda.dependency 'ADAL', '~> 1.2.10.1'
oda.dependency 'Base32', '~> 1.1'
oda.dependency 'OneDriveSDK/Common'
oda.source_files = "OneDriveSDK/Auth/*.{h,m}", "OneDriveSDK/Accounts/*.{h,m}"
oda.public_header_files = "OneDriveSDK/Auth/*.h", "OneDriveSDK/Accounts/*.h"
end
s.subspec "OneDriveCoreSDK" do |core|
core.dependency 'OneDriveSDK/Common'
core.source_files = "OneDriveSDK/OneDriveCoreSDK/**/*.{h,m}"
core.public_header_files = "OneDriveSDK/OneDriveCoreSDK/**/*.h"
end
s.subspec "Extensions" do |ext|
ext.dependency 'OneDriveSDK/OneDriveCoreSDK'
ext.dependency 'OneDriveSDK/Implementations'
ext.dependency 'OneDriveSDK/Auth'
ext.source_files = "OneDriveSDK/Extensions/*.{h,m}"
ext.public_header_files = "OneDriveSDK/Extensions/*.h"
end
end