diff --git a/Plugin/DependencyPlugin/ProjectDescriptionHelpers/ModulePaths.swift b/Plugin/DependencyPlugin/ProjectDescriptionHelpers/ModulePaths.swift index 8ffda2d9..959a2a19 100644 --- a/Plugin/DependencyPlugin/ProjectDescriptionHelpers/ModulePaths.swift +++ b/Plugin/DependencyPlugin/ProjectDescriptionHelpers/ModulePaths.swift @@ -44,6 +44,7 @@ public extension ModulePaths { public extension ModulePaths { enum Domain: String, MicroTargetPathConvertable { + case MusicDomain case ViolationDomain case NoticeDomain case MealDomain diff --git a/Projects/Domain/MusicDomain/Interface/Interface.swift b/Projects/Domain/MusicDomain/Interface/Interface.swift new file mode 100644 index 00000000..b1853ce6 --- /dev/null +++ b/Projects/Domain/MusicDomain/Interface/Interface.swift @@ -0,0 +1 @@ +// This is for Tuist diff --git a/Projects/Domain/MusicDomain/Project.swift b/Projects/Domain/MusicDomain/Project.swift new file mode 100644 index 00000000..866bfc65 --- /dev/null +++ b/Projects/Domain/MusicDomain/Project.swift @@ -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) + ]) + ] +) diff --git a/Projects/Domain/MusicDomain/Sources/Source.swift b/Projects/Domain/MusicDomain/Sources/Source.swift new file mode 100644 index 00000000..b1853ce6 --- /dev/null +++ b/Projects/Domain/MusicDomain/Sources/Source.swift @@ -0,0 +1 @@ +// This is for Tuist diff --git a/Projects/Domain/MusicDomain/Testing/Testing.swift b/Projects/Domain/MusicDomain/Testing/Testing.swift new file mode 100644 index 00000000..b1853ce6 --- /dev/null +++ b/Projects/Domain/MusicDomain/Testing/Testing.swift @@ -0,0 +1 @@ +// This is for Tuist diff --git a/Projects/Domain/MusicDomain/Tests/MusicDomainTest.swift b/Projects/Domain/MusicDomain/Tests/MusicDomainTest.swift new file mode 100644 index 00000000..ff867264 --- /dev/null +++ b/Projects/Domain/MusicDomain/Tests/MusicDomainTest.swift @@ -0,0 +1,11 @@ +import XCTest + +final class MusicDomainTests: XCTestCase { + override func setUpWithError() throws {} + + override func tearDownWithError() throws {} + + func testExample() { + XCTAssertEqual(1, 1) + } +}