Skip to content

Commit 0db3a8a

Browse files
committed
Rename Core submodule to Provider, default subspec is Provider
1 parent bb3c9af commit 0db3a8a

12 files changed

+8
-6
lines changed

ServiceContainerKit.podspec

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,16 @@ Pod::Spec.new do |s|
2222
s.tvos.deployment_target = '10.0'
2323
s.watchos.deployment_target = '3.0'
2424

25-
s.subspec 'Core' do |ss|
26-
ss.source_files = ['Sources/Core/*.swift', 'Sources/*.h']
25+
s.default_subspec = 'Provider'
26+
27+
s.subspec 'Provider' do |ss|
28+
ss.source_files = ['Sources/Provider/*.swift', 'Sources/*.h']
2729
ss.public_header_files = 'Sources/*.h'
2830
end
2931

3032
s.subspec 'Injects' do |ss|
3133
ss.source_files = 'Sources/Injects/*.swift'
32-
ss.dependency 'ServiceContainerKit/Core'
34+
ss.dependency 'ServiceContainerKit/Provider'
3335
end
3436

3537
end

ServiceContainerKit.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@
354354
path = Injects;
355355
sourceTree = "<group>";
356356
};
357-
5025E24D252796C300CDB01E /* Core */ = {
357+
5025E24D252796C300CDB01E /* Provider */ = {
358358
isa = PBXGroup;
359359
children = (
360360
50DA160620C4507D00B756B3 /* BaseTypes.swift */,
@@ -368,7 +368,7 @@
368368
5025E30C252904DE00CDB01E /* Logger.swift */,
369369
5025E314252917C500CDB01E /* ProvidersLogger.swift */,
370370
);
371-
path = Core;
371+
path = Provider;
372372
sourceTree = "<group>";
373373
};
374374
5033D4442530F7A600977A99 /* Core */ = {
@@ -484,7 +484,7 @@
484484
children = (
485485
506F9EF920E3E3F100E44CBD /* ServiceContainerKit.h */,
486486
506F9EFA20E3E3F100E44CBD /* Info.plist */,
487-
5025E24D252796C300CDB01E /* Core */,
487+
5025E24D252796C300CDB01E /* Provider */,
488488
500F8BA82465E1B4005C1F5C /* Injects */,
489489
);
490490
path = Sources;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)