Skip to content

Commit

Permalink
feat: Shared 하위 모듈의 프로덕트 타입 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
noeyiz committed Sep 23, 2024
1 parent 47ac55e commit ede4d5d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Tuist/ProjectDescriptionHelpers/Target+Templates.swift
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,15 @@ public extension Target {
newFactory.product = .framework
newFactory.name = ModulePath.Shared.name + module.rawValue

if module == .DesignSystem {
switch module {
case .DesignSystem:
newFactory.product = .staticFramework
newFactory.resources = ["Resources/**"]
newFactory.sources = .sources
} else if module == .Util {
case .ThirdPartyLib:
newFactory.product = .staticLibrary
case .Util:
newFactory.product = .staticFramework
newFactory.sources = .sources
}

Expand Down
Binary file modified 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 ede4d5d

Please sign in to comment.