This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
98 changed files
with
1,511 additions
and
270 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
186 changes: 128 additions & 58 deletions
186
JOBIS-DSM-iOS.xcworkspace/xcshareddata/xcschemes/JOBIS-DSM-iOS-Workspace.xcscheme
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file modified
BIN
-158 KB
(19%)
JOBIS-DSM-iOS.xcworkspace/xcuserdata/hongseungjae.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
6 changes: 0 additions & 6 deletions
6
...-iOS.xcworkspace/xcuserdata/hongseungjae.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import ProjectDescription | ||
|
||
let configurationPlugin = Plugin(name: "ConfigurationPlugin") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
Plugin/ConfigurationPlugin/ProjectDescriptionHelpers/Path+XCConfig.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import ProjectDescription | ||
|
||
public extension ProjectDescription.Path { | ||
static func relativeToXCConfig(type: ProjectDeployTarget, name: String) -> Self { | ||
return .relativeToRoot("XCConfig/\(name)/\(type.rawValue).xcconfig") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import ProjectDescription | ||
|
||
let dependencyPlugin = Plugin(name: "DependencyPlugin") |
18 changes: 18 additions & 0 deletions
18
Plugin/DependencyPlugin/ProjectDescriptionHelpers/Dependency+SPM.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import ProjectDescription | ||
|
||
public extension TargetDependency { | ||
struct SPM {} | ||
} | ||
|
||
public extension TargetDependency.SPM { | ||
static let Quick = TargetDependency.external(name: "Quick") | ||
static let Nimble = TargetDependency.external(name: "Nimble") | ||
static let Needle = TargetDependency.external(name: "NeedleFoundation") | ||
static let Moya = TargetDependency.external(name: "Moya") | ||
static let CombineMoya = TargetDependency.external(name: "CombineMoya") | ||
static let Kingfisher = TargetDependency.external(name: "Kingfisher") | ||
static let Swinject = TargetDependency.external(name: "Swinject") | ||
} | ||
|
||
public extension Package { | ||
} |
61 changes: 61 additions & 0 deletions
61
Plugin/DependencyPlugin/ProjectDescriptionHelpers/Dependency+Target.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import ProjectDescription | ||
|
||
// swiftlint: disable all | ||
public extension TargetDependency { | ||
struct Feature {} | ||
struct Domain {} | ||
struct Core {} | ||
struct Shared {} | ||
} | ||
|
||
public extension TargetDependency.Feature { | ||
static let BaseFeature = TargetDependency.project( | ||
target: ModulePaths.Feature.BaseFeature.targetName(type: .sources), | ||
path: .relativeToFeature(ModulePaths.Feature.BaseFeature.rawValue) | ||
) | ||
static let MainTabFeature = TargetDependency.project( | ||
target: ModulePaths.Feature.MainTabFeature.targetName(type: .sources), | ||
path: .relativeToFeature(ModulePaths.Feature.MainTabFeature.rawValue) | ||
) | ||
static let SplashFeature = TargetDependency.project( | ||
target: ModulePaths.Feature.SplashFeature.targetName(type: .sources), | ||
path: .relativeToFeature(ModulePaths.Feature.SplashFeature.rawValue) | ||
) | ||
static let RootFeature = TargetDependency.project( | ||
target: ModulePaths.Feature.RootFeature.targetName(type: .sources), | ||
path: .relativeToFeature(ModulePaths.Feature.RootFeature.rawValue) | ||
) | ||
} | ||
|
||
public extension TargetDependency.Domain { | ||
static let BaseDomain = TargetDependency.project( | ||
target: ModulePaths.Domain.BaseDomain.targetName(type: .sources), | ||
path: .relativeToDomain(ModulePaths.Domain.BaseDomain.rawValue) | ||
) | ||
} | ||
|
||
public extension TargetDependency.Core { | ||
static let DesignSystem = TargetDependency.project( | ||
target: ModulePaths.Core.DesignSystem.targetName(type: .sources), | ||
path: .relativeToCore(ModulePaths.Core.DesignSystem.rawValue) | ||
) | ||
} | ||
|
||
public extension TargetDependency.Shared { | ||
static let UtilityModule = TargetDependency.project( | ||
target: ModulePaths.Shared.UtilityModule.targetName(type: .sources), | ||
path: .relativeToShared(ModulePaths.Shared.UtilityModule.rawValue) | ||
) | ||
static let GlobalThirdPartyLibrary = TargetDependency.project( | ||
target: ModulePaths.Shared.GlobalThirdPartyLibrary.targetName(type: .sources), | ||
path: .relativeToShared(ModulePaths.Shared.GlobalThirdPartyLibrary.rawValue) | ||
) | ||
static let ErrorModule = TargetDependency.project( | ||
target: ModulePaths.Shared.ErrorModule.targetName(type: .sources), | ||
path: .relativeToShared(ModulePaths.Shared.ErrorModule.rawValue) | ||
) | ||
static let KeychainModule = TargetDependency.project( | ||
target: ModulePaths.Shared.KeychainModule.targetName(type: .sources), | ||
path: .relativeToShared(ModulePaths.Shared.KeychainModule.rawValue) | ||
) | ||
} |
62 changes: 62 additions & 0 deletions
62
Plugin/DependencyPlugin/ProjectDescriptionHelpers/ModulePaths.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
import Foundation | ||
|
||
// swiftlint: disable all | ||
public enum ModulePaths { | ||
case feature(Feature) | ||
case domain(Domain) | ||
case core(Core) | ||
case shared(Shared) | ||
} | ||
|
||
public extension ModulePaths { | ||
enum Feature: String { | ||
case BaseFeature | ||
case MainTabFeature | ||
case RootFeature | ||
case SplashFeature | ||
|
||
func targetName(type: MicroTargetType) -> String { | ||
"\(self.rawValue)\(type.rawValue)" | ||
} | ||
} | ||
} | ||
|
||
public extension ModulePaths { | ||
enum Domain: String { | ||
case BaseDomain | ||
case UserDomain | ||
|
||
func targetName(type: MicroTargetType) -> String { | ||
"\(self.rawValue)\(type.rawValue)" | ||
} | ||
} | ||
} | ||
|
||
public extension ModulePaths { | ||
enum Core: String { | ||
case DesignSystem | ||
|
||
func targetName(type: MicroTargetType) -> String { | ||
"\(self.rawValue)\(type.rawValue)" | ||
} | ||
} | ||
} | ||
|
||
public extension ModulePaths { | ||
enum Shared: String { | ||
case UtilityModule | ||
case GlobalThirdPartyLibrary | ||
case ErrorModule | ||
case KeychainModule | ||
|
||
func targetName(type: MicroTargetType) -> String { | ||
"\(self.rawValue)\(type.rawValue)" | ||
} | ||
} | ||
} | ||
|
||
public enum MicroTargetType: String { | ||
case interface = "Interface" | ||
case sources = "" | ||
case testing = "Testing" | ||
} |
37 changes: 37 additions & 0 deletions
37
Plugin/DependencyPlugin/ProjectDescriptionHelpers/PathExtension.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import ProjectDescription | ||
|
||
public extension ProjectDescription.Path { | ||
static func relativeToSections(_ path: String) -> Self { | ||
return .relativeToRoot("Projects/\(path)") | ||
} | ||
static func relativeToFeature(_ path: String) -> Self { | ||
return .relativeToRoot("Projects/Feature/\(path)") | ||
} | ||
static func relativeToDomain(_ path: String) -> Self { | ||
return .relativeToRoot("Projects/Domain/\(path)") | ||
} | ||
static func relativeToCore(_ path: String) -> Self { | ||
return .relativeToRoot("Projects/Core/\(path)") | ||
} | ||
static func relativeToShared(_ path: String) -> Self { | ||
return .relativeToRoot("Projects/Shared/\(path)") | ||
} | ||
static var app: Self { | ||
return .relativeToRoot("Projects/App") | ||
} | ||
} | ||
|
||
public extension TargetDependency { | ||
static func feature(name: String) -> Self { | ||
return .project(target: name, path: .relativeToFeature(name)) | ||
} | ||
static func domain(name: String) -> Self { | ||
return .project(target: name, path: .relativeToDomain(name)) | ||
} | ||
static func core(name: String) -> Self { | ||
return .project(target: name, path: .relativeToCore(name)) | ||
} | ||
static func shared(name: String) -> Self { | ||
return .project(target: name, path: .relativeToShared(name)) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import ProjectDescription | ||
|
||
let environmentPlugin = Plugin(name: "EnvironmentPlugin") |
17 changes: 17 additions & 0 deletions
17
Plugin/EnvironmentPlugin/ProjectDescriptionHelpers/ProjectEnvironment.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import ProjectDescription | ||
|
||
public struct ProjectEnvironment { | ||
public let name: String | ||
public let organizationName: String | ||
public let deploymentTarget: DeploymentTarget | ||
public let platform: Platform | ||
public let baseSetting: SettingsDictionary | ||
} | ||
|
||
public let env = ProjectEnvironment( | ||
name: "JOBIS-DSM-iOS", | ||
organizationName: "Team-Return", | ||
deploymentTarget: .iOS(targetVersion: "16.0", devices: [.iphone, .ipad]), | ||
platform: .iOS, | ||
baseSetting: [:] | ||
) |
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
Plugin/UtilityPlugin/ProjectDescriptionHelpers/Dependency+Project.swift
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.