Skip to content

Commit d09ef03

Browse files
committed
CHORE: 주석 추가
1 parent ec8aad3 commit d09ef03

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Plugins/DependencyPlugin/ProjectDescriptionHelpers/TargetDependency+Modulable.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ extension Modulable where Self: RawRepresentable, Self.RawValue == String {
1919
}
2020

2121
extension TargetDependency {
22-
/// ex) path: "Projects/Core/Logger", target: "LoggerInterface"
22+
/// Modulable 모듈 의존성 연결
2323
public static func dependency<T: Modulable>(module: T, target: TargetType = .sources) -> TargetDependency {
2424
let moduleName = String(describing: module)
2525
return .project(target: "\(moduleName)\(target.suffixName)", path: .relativeToRoot("Projects/\(module.path)"))
2626
}
2727

28+
/// Modulable 루트 의존성 연결
2829
public static func dependency<T: Modulable>(rootModule: T.Type) -> TargetDependency {
2930
let moduleName = String(describing: rootModule)
3031
return .project(target: "\(moduleName)", path: .relativeToRoot("Projects/\(moduleName)/\(moduleName)"))

Tuist/ProjectDescriptionHelpers/Templates/Project+Extension.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import UtilityPlugin
1010
import DependencyPlugin
1111

1212
extension Project {
13+
/// TMA 기반 프로젝트 생성
1314
public static func makeTMABasedProject<T: Modulable>(
1415
module: T,
1516
options: Project.Options = .options(disableSynthesizedResourceAccessors: true),
@@ -122,6 +123,7 @@ extension Project {
122123
)
123124
}
124125

126+
/// Modulable 모듈 프로젝트 생성
125127
public static func makeProject<T: Modulable>(
126128
module: T,
127129
options: Project.Options = .options(disableSynthesizedResourceAccessors: true),
@@ -159,6 +161,7 @@ extension Project {
159161
)
160162
}
161163

164+
/// Modulable 루트 프로젝트 생성
162165
public static func makeRootProject<T: Modulable>(
163166
rootModule: T.Type,
164167
options: Project.Options = .options(disableSynthesizedResourceAccessors: true),

0 commit comments

Comments
 (0)