Skip to content
This repository was archived by the owner on Apr 18, 2023. It is now read-only.

Commit f8511bd

Browse files
author
Vikas Dadheech
committed
Add all the generated Models and Podspec
1 parent 1ea88de commit f8511bd

File tree

1,429 files changed

+115313
-15
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,429 files changed

+115313
-15
lines changed

MSGraphCoreSDK.podspec

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,28 @@ Pod::Spec.new do |s|
1818
s.ios.deployment_target = "9.0"
1919
#s.osx.deployment_target = "10.7"
2020

21-
s.source = { :git => "https://github.com/microsoftgraph/msgraph-sdk-objc.git", :tag => "#{s.version}" }
21+
s.source = { :git => "https://github.com/microsoftgraph/msgraph-sdk-objc.git", :branch => "vidadhee/ModelsIntegration" }
2222

2323

2424

2525
s.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/MSGraphCoreSDK.h"
2626
s.exclude_files = "MSGraphCoreSDK/MSGraphCoreSDKTests/*"
2727
s.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/MSGraphCoreSDK.h"
2828

29-
#s.subspec "Models" do |models|
30-
# models.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/Models/*.{h,m}"
31-
#models.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/Models/*.h"
32-
# end
29+
#s.subspec "Core" do |core|
30+
# core.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/**/*.{h,m}"
31+
# core.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/*/*.h"
32+
# core.exclude_files = "MSGraphCoreSDK/MSGraphCoreSDKTests/*"
33+
# end
34+
35+
#s.default_subspec = "Core"
36+
37+
s.subspec "Models" do |models|
38+
models.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/Models/*.{h,m}"
39+
models.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/Models/*.h"
40+
end
41+
42+
3343

3444
s.subspec "Authentication" do |authentication|
3545
authentication.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/Authentication/*.{h,m}"
@@ -39,24 +49,25 @@ Pod::Spec.new do |s|
3949

4050

4151
s.subspec "Common" do |common|
42-
common.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/Common/**/*.{h,m}, MSGraphCoreSDK/MSGraphCoreSDK/Middleware/**/*.{h,m}"
43-
common.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/Common/**/*.h, MSGraphCoreSDK/MSGraphCoreSDK/Middleware/**/*.h"
52+
common.dependency 'MSGraphCoreSDK/Authentication'
53+
common.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/{Common,Middleware,GraphContent,HTTPClient}/**/*.{h,m}"
54+
common.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/{Common,Middleware,GraphContent,HTTPClient}/**/*.h"
4455
end
4556

4657
#s.subspec "Middleware" do |middleware|
4758
# middleware.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/Middleware/**/*.{h,m}"
4859
# middleware.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/Middleware/**/*.h"
4960
#end
5061

51-
s.subspec "GraphContent" do |graphContent|
52-
graphContent.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/GraphContent/**/*.{h,m}"
53-
graphContent.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/GraphContent/**/*.h"
54-
end
62+
#s.subspec "GraphContent" do |graphContent|
63+
# graphContent.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/GraphContent/**/*.{h,m}"
64+
# graphContent.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/GraphContent/**/*.h"
65+
#end
5566

56-
s.subspec "HTTPClient" do |httpClient|
57-
httpClient.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/HTTPClient/**/*.{h,m}"
58-
httpClient.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/HTTPClient/**/*.h"
59-
end
67+
#s.subspec "HTTPClient" do |httpClient|
68+
# httpClient.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/HTTPClient/**/*.{h,m}"
69+
# httpClient.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/HTTPClient/**/*.h"
70+
# end
6071

6172

6273

MSGraphModels.podspec

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
2+
3+
Pod::Spec.new do |s|
4+
5+
6+
7+
s.name = "MSGraphModels"
8+
s.version = "0.1.0"
9+
s.summary = "Microsoft Graph Models to be used in conjecture with MSGraphCoreSDK."
10+
s.description = <<-DESC
11+
Use these models to convert raw data from MSGraphCoreSDK to models and back.
12+
DESC
13+
14+
s.homepage = "http://graph.microsoft.io"
15+
s.license = { :type => "MIT", :file => "LICENSE" }
16+
s.author = 'Microsoft Graph'
17+
18+
19+
s.ios.deployment_target = "9.0"
20+
#s.osx.deployment_target = "10.7"
21+
22+
23+
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
24+
#
25+
# Specify the location from where the source should be retrieved.
26+
# Supports git, hg, bzr, svn and HTTP.
27+
#
28+
29+
s.source = { :git => "https://github.com/microsoftgraph/msgraph-sdk-objc.git", :branch => "vidadhee/ModelsIntegration" }
30+
31+
32+
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
33+
#
34+
# CocoaPods is smart about how it includes source code. For source files
35+
# giving a folder will include any swift, h, m, mm, c & cpp files.
36+
# For header files it will include any header in the folder.
37+
# Not including the public_header_files will make all headers public.
38+
#
39+
40+
s.source_files = "MSGraphModels/MSGraphModels/*.{h,m}"
41+
s.exclude_files = "MSGraphModels/MSGraphModelsTests/*"
42+
s.public_header_files = "MSGraphModels/MSGraphModels/*.h"
43+
44+
# s.public_header_files = "Classes/**/*.h"
45+
46+
47+
# ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
48+
#
49+
# A list of resources included with the Pod. These are copied into the
50+
# target bundle with a build phase script. Anything else will be cleaned.
51+
# You can preserve files from being cleaned, please don't preserve
52+
# non-essential files like tests, examples and documentation.
53+
#
54+
55+
# s.resource = "icon.png"
56+
# s.resources = "Resources/*.png"
57+
58+
# s.preserve_paths = "FilesToSave", "MoreFilesToSave"
59+
60+
61+
# ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
62+
#
63+
# Link your library with frameworks, or libraries. Libraries do not include
64+
# the lib prefix of their name.
65+
#
66+
67+
# s.framework = "SomeFramework"
68+
# s.frameworks = "SomeFramework", "AnotherFramework"
69+
70+
# s.library = "iconv"
71+
# s.libraries = "iconv", "xml2"
72+
73+
74+
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
75+
#
76+
# If your library depends on compiler flags you can set them in the xcconfig hash
77+
# where they will only apply to your library. If you depend on other Podspecs
78+
# you can include multiple dependencies to ensure it works.
79+
80+
# s.requires_arc = true
81+
82+
# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
83+
# s.dependency "MSGraphCoreSDK/Models"
84+
85+
86+
end

0 commit comments

Comments
 (0)