Skip to content

Commit

Permalink
[refactor] #171 FeatureSplash -> FeatureIntro로 이름 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ShapeKim98 committed Dec 24, 2024
1 parent 008160b commit 0c9eaba
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import SwiftUI

@main
struct FeatureSplashDemoApp: App {
struct FeatureIntroDemoApp: App {
var body: some Scene {
WindowGroup {
// TODO: 루트 뷰 추가
Expand Down
10 changes: 10 additions & 0 deletions Projects/Feature/FeatureIntroTests/Sources/FeatureIntroTests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import ComposableArchitecture
import XCTest

@testable import FeatureIntro

final class FeatureIntroTests: XCTestCase {
func test() {

}
}

This file was deleted.

8 changes: 4 additions & 4 deletions Tuist/ProjectDescriptionHelpers/Feature.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public enum Feature: String, CaseIterable {
case contentList = "ContentList"
case categorySharing = "CategorySharing"
case contentCard = "ContentCard"
case splash = "Splash"
case intro = "Intro"

public var target: Target {
return .makeTarget(
Expand All @@ -37,9 +37,9 @@ public enum Feature: String, CaseIterable {

public var demoTarget: Target {
var dependencies: [TargetDependency] = [.target(self.target)]
if self != .login && self != .splash {
if self != .login && self != .intro {
dependencies.append(
.project(target: "FeatureSplash", path: .relativeToRoot("Projects/Feature"))
.project(target: "FeatureIntro", path: .relativeToRoot("Projects/Feature"))
)
}

Expand Down Expand Up @@ -94,7 +94,7 @@ public enum Feature: String, CaseIterable {
.project(target: "FeatureContentCard", path: .relativeToRoot("Projects/Feature"))
]
case .contentCard: return []
case .splash:
case .intro:
return [
.project(target: "FeatureLogin", path: .relativeToRoot("Projects/Feature"))
]
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 0c9eaba

Please sign in to comment.