Skip to content

Commit

Permalink
✨ :: [#118] MusicDomain / MusicDomain Module 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
baekteun committed Jul 26, 2023
1 parent daf0962 commit 59b2b01
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public extension ModulePaths {

public extension ModulePaths {
enum Domain: String, MicroTargetPathConvertable {
case MusicDomain
case ViolationDomain
case NoticeDomain
case MealDomain
Expand Down
1 change: 1 addition & 0 deletions Projects/Domain/MusicDomain/Interface/Interface.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// This is for Tuist
21 changes: 21 additions & 0 deletions Projects/Domain/MusicDomain/Project.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import ProjectDescription
import ProjectDescriptionHelpers
import DependencyPlugin

let project = Project.module(
name: ModulePaths.Domain.MusicDomain.rawValue,
targets: [
.interface(module: .domain(.MusicDomain)),
.implements(module: .domain(.MusicDomain), dependencies: [
.domain(target: .MusicDomain, type: .interface),
.domain(target: .BaseDomain)
]),
.testing(module: .domain(.MusicDomain), dependencies: [
.domain(target: .MusicDomain, type: .interface)
]),
.tests(module: .domain(.MusicDomain), dependencies: [
.domain(target: .MusicDomain),
.domain(target: .MusicDomain, type: .testing)
])
]
)
1 change: 1 addition & 0 deletions Projects/Domain/MusicDomain/Sources/Source.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// This is for Tuist
1 change: 1 addition & 0 deletions Projects/Domain/MusicDomain/Testing/Testing.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/Domain/MusicDomain/Tests/MusicDomainTest.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import XCTest

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

override func tearDownWithError() throws {}

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

0 comments on commit 59b2b01

Please sign in to comment.