Skip to content

Commit

Permalink
build: RecordFeature Framework 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
MaraMincho committed Nov 15, 2023
1 parent c1ea8c1 commit 09978c6
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
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.

0 comments on commit 09978c6

Please sign in to comment.