Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GWL-39] Tuist 모듈 아키텍처 수정 #39

Merged
merged 1 commit into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions iOS/Projects/App/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ let project = Project.makeModule(
name: "WeTri",
product: .app,
dependencies: [
ProjectTargetDependency.DesignSystem,
ProjectTargetDependency.Trinet,
ProjectTargetDependency.Record,
],
resources: ["Resources/**"],
infoPlist: .extendingDefault(
Expand Down
2 changes: 1 addition & 1 deletion iOS/Projects/Core/Network/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ import ProjectDescription
import ProjectDescriptionHelpers

/// Trinet
let project = Project.makeModule(name: "Trinet", platform: .iOS, product: .staticLibrary, resources: nil, isTestable: true)
let project = Project.makeModule(name: "Trinet", platform: .iOS, product: .framework, resources: nil, isTestable: true)
10 changes: 10 additions & 0 deletions iOS/Projects/Features/Record/Project.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
import ProjectDescription
import ProjectDescriptionHelpers

let project = Project.makeModule(
name: "RecordFeature",
platform: .iOS,
product: .framework,
dependencies: [
ProjectTargetDependency.Trinet,
ProjectTargetDependency.DesignSystem,
],
isTestable: true
)
1 change: 1 addition & 0 deletions iOS/Tuist/ProjectDescriptionHelpers/TargetDependency.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ import ProjectDescription
public enum ProjectTargetDependency {
public static let DesignSystem: TargetDependency = .project(target: "DesignSystem", path: .relativeToRoot("Projects/Shared/DesignSystem"))
public static let Trinet: TargetDependency = .project(target: "Trinet", path: .relativeToRoot("Projects/Core/Network"))
public static let Record: TargetDependency = .project(target: "RecordFeature", path: .relativeToRoot("Projects/Features/Record"))
}
Binary file added iOS/graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.