diff --git a/Projects/Feature/FeatureContentCard/Resources/Resource.swift b/Projects/Feature/FeatureContentCard/Resources/Resource.swift new file mode 100644 index 00000000..43790c92 --- /dev/null +++ b/Projects/Feature/FeatureContentCard/Resources/Resource.swift @@ -0,0 +1,8 @@ +// +// Dummy.stencil.swift +// ProjectDescriptionHelpers +// +// Created by 김도형 on 6/16/24. +// + +import Foundation diff --git a/Projects/Feature/FeatureContentCardDemo/Resources/LaunchScreen.storyboard b/Projects/Feature/FeatureContentCardDemo/Resources/LaunchScreen.storyboard new file mode 100644 index 00000000..f1721f80 --- /dev/null +++ b/Projects/Feature/FeatureContentCardDemo/Resources/LaunchScreen.storyboard @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Projects/Feature/FeatureContentCardDemo/Sources/FeatureContentCardDemoApp.swift b/Projects/Feature/FeatureContentCardDemo/Sources/FeatureContentCardDemoApp.swift new file mode 100644 index 00000000..17fadce2 --- /dev/null +++ b/Projects/Feature/FeatureContentCardDemo/Sources/FeatureContentCardDemoApp.swift @@ -0,0 +1,17 @@ +// +// App.stencil.swift +// ProjectDescriptionHelpers +// +// Created by 김도형 on 6/16/24. +// + +import SwiftUI + +@main +struct FeatureContentCardDemoApp: App { + var body: some Scene { + WindowGroup { + // TODO: 루트 뷰 추가 + } + } +} diff --git a/Projects/Feature/FeatureContentCardTests/Resources/info.plist b/Projects/Feature/FeatureContentCardTests/Resources/info.plist new file mode 100644 index 00000000..b31ce7b0 --- /dev/null +++ b/Projects/Feature/FeatureContentCardTests/Resources/info.plist @@ -0,0 +1,8 @@ + + + + + ENABLE_TESTING_SEARCH_PATHS + YES + + diff --git a/Projects/Feature/FeatureContentCardTests/Sources/FeatureContentCardTests.swift b/Projects/Feature/FeatureContentCardTests/Sources/FeatureContentCardTests.swift new file mode 100644 index 00000000..6e30407e --- /dev/null +++ b/Projects/Feature/FeatureContentCardTests/Sources/FeatureContentCardTests.swift @@ -0,0 +1,10 @@ +import ComposableArchitecture +import XCTest + +@testable import FeatureContentCard + +final class FeatureContentCardTests: XCTestCase { + func test() { + + } +} diff --git a/Tuist/ProjectDescriptionHelpers/Feature.swift b/Tuist/ProjectDescriptionHelpers/Feature.swift index 88a3412f..f2b0e62a 100644 --- a/Tuist/ProjectDescriptionHelpers/Feature.swift +++ b/Tuist/ProjectDescriptionHelpers/Feature.swift @@ -19,6 +19,7 @@ public enum Feature: String, CaseIterable { case setting = "Setting" case contentList = "ContentList" case categorySharing = "CategorySharing" + case contentCard = "ContentCard" public var target: Target { return .makeTarget( @@ -26,7 +27,7 @@ public enum Feature: String, CaseIterable { product: TuistRelease.isRelease ? .staticFramework : .framework, bundleName: "Feature.\(self.rawValue)", infoPlist: .file(path: .relativeToRoot("Projects/App/Resources/Pokit-info.plist")), - dependencies: [ + dependencies: self.depenecies + [ .project(target: "DSKit", path: .relativeToRoot("Projects/DSKit")), .project(target: "Domain", path: .relativeToRoot("Projects/Domain")) ] @@ -58,4 +59,35 @@ public enum Feature: String, CaseIterable { ] ) } + + public var depenecies: [TargetDependency] { + switch self { + case .contentDetail: return [] + case .contentSetting: return [] + case .categorySetting: return [] + case .remind: + return [ + .project(target: "FeatureContentCard", path: .relativeToRoot("Projects/Feature")) + ] + case .login: return [] + case .pokit: + return [ + .project(target: "FeatureContentCard", path: .relativeToRoot("Projects/Feature")) + ] + case .categoryDetail: + return [ + .project(target: "FeatureContentCard", path: .relativeToRoot("Projects/Feature")) + ] + case .setting: return [] + case .contentList: + return [ + .project(target: "FeatureContentCard", path: .relativeToRoot("Projects/Feature")) + ] + case .categorySharing: + return [ + .project(target: "FeatureContentCard", path: .relativeToRoot("Projects/Feature")) + ] + case .contentCard: return [] + } + } } diff --git a/graph.png b/graph.png index bf36f328..102110a4 100644 Binary files a/graph.png and b/graph.png differ