Skip to content

Commit

Permalink
✨ :: [#123] ProposeMusicFeature / ProposeMusicFeature 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
baekteun committed Jul 27, 2023
1 parent 7ac6698 commit 8295ce1
Show file tree
Hide file tree
Showing 7 changed files with 80 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 ProposeMusicFeature
case MyViolationListFeature
case SplashFeature
case ConfirmationDialogFeature
Expand Down
1 change: 1 addition & 0 deletions Projects/Feature/MusicFeature/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ let project = Project.module(
targets: [
.implements(module: .feature(.MusicFeature), dependencies: [
.feature(target: .BaseFeature),
.feature(target: .ProposeMusicFeature),
.domain(target: .MusicDomain, type: .interface),
.domain(target: .UserDomain, type:. interface)
]),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="53" y="375"/>
</scene>
</scenes>
</document>
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import UIKit

@main
final class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?

func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil
) -> Bool {
window = UIWindow(frame: UIScreen.main.bounds)
let viewController = UIViewController()
viewController.view.backgroundColor = .yellow
window?.rootViewController = viewController
window?.makeKeyAndVisible()

return true
}
}
22 changes: 22 additions & 0 deletions Projects/Feature/ProposeMusicFeature/Project.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import ProjectDescription
import ProjectDescriptionHelpers
import DependencyPlugin

let project = Project.module(
name: ModulePaths.Feature.ProposeMusicFeature.rawValue,
targets: [
.implements(module: .feature(.ProposeMusicFeature), dependencies: [
.feature(target: .BaseFeature),
.domain(target: .MusicDomain, type: .interface)
]),
.tests(module: .feature(.ProposeMusicFeature), dependencies: [
.feature(target: .ProposeMusicFeature),
.domain(target: .MusicDomain, type: .testing)
]),
.demo(module: .feature(.ProposeMusicFeature), dependencies: [
.feature(target: .ProposeMusicFeature),
.domain(target: .MusicDomain, type: .testing)
])
]
)

1 change: 1 addition & 0 deletions Projects/Feature/ProposeMusicFeature/Sources/Source.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// This is for Tuist
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import XCTest

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

override func tearDownWithError() throws {}

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

0 comments on commit 8295ce1

Please sign in to comment.