Skip to content

Commit

Permalink
✨ :: [#72] App / SplashFeature Module 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
baekteun committed Jul 23, 2023
1 parent 435ef7c commit 666e6a1
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public extension ModulePaths {

public extension ModulePaths {
enum Feature: String, MicroTargetPathConvertable {
case SplashFeature
case MusicFeature
case MassageFeature
case SelfStudyFeature
Expand Down
1 change: 1 addition & 0 deletions Projects/App/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ let targets: [Target] = [
scripts: scripts,
dependencies: [
.feature(target: .RootFeature),
.feature(target: .SplashFeature),
.feature(target: .SigninFeature),
.feature(target: .MainTabFeature),
.feature(target: .SignupFeature),
Expand Down
16 changes: 16 additions & 0 deletions Projects/Feature/SplashFeature/Project.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import ProjectDescription
import ProjectDescriptionHelpers
import DependencyPlugin

let project = Project.module(
name: ModulePaths.Feature.SplashFeature.rawValue,
targets: [
.implements(module: .feature(.SplashFeature), dependencies: [
.feature(target: .BaseFeature),
.domain(target: .AuthDomain, type: .interface)
]),
.tests(module: .feature(.SplashFeature), dependencies: [
.feature(target: .SplashFeature)
])
]
)
1 change: 1 addition & 0 deletions Projects/Feature/SplashFeature/Sources/Source.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// This is for Tuist
11 changes: 11 additions & 0 deletions Projects/Feature/SplashFeature/Tests/SplashFeatureTest.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import XCTest

final class SplashFeatureTests: XCTestCase {
override func setUpWithError() throws {}

override func tearDownWithError() throws {}

func testExample() {
XCTAssertEqual(1, 1)
}
}

0 comments on commit 666e6a1

Please sign in to comment.