Skip to content

Commit

Permalink
🌱 :: [#334] GSMAuthenticationForm Feature 모듈 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
baekteun committed May 28, 2024
1 parent a7f554e commit bbef147
Show file tree
Hide file tree
Showing 9 changed files with 77 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ public extension TargetDependency {
}

public extension TargetDependency.Feature {
static let GSMAuthenticationFormFeatureInterface = TargetDependency.project(
target: ModulePaths.Feature.GSMAuthenticationFormFeature.targetName(type: .interface),
path: .relativeToFeature(ModulePaths.Feature.GSMAuthenticationFormFeature.rawValue)
)
static let GSMAuthenticationFormFeature = TargetDependency.project(
target: ModulePaths.Feature.GSMAuthenticationFormFeature.targetName(type: .sources),
path: .relativeToFeature(ModulePaths.Feature.GSMAuthenticationFormFeature.rawValue)
)
static let InputAuthenticationFeatureInterface = TargetDependency.project(
target: ModulePaths.Feature.InputAuthenticationFeature.targetName(type: .interface),
path: .relativeToFeature(ModulePaths.Feature.InputAuthenticationFeature.rawValue)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public enum ModulePaths {

public extension ModulePaths {
enum Feature: String {
case GSMAuthenticationFormFeature
case InputAuthenticationFeature
case InputTeacherInfoFeature
case InputPrizeInfoFeature
Expand Down
1 change: 1 addition & 0 deletions Projects/App/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ let targets: [Target] = [
.Feature.InputProjectInfoFeature,
.Feature.InputTeacherInfoFeature,
.Feature.InputAuthenticationFeature,
.Feature.GSMAuthenticationFormFeature,
.Feature.MainFeature,
.Feature.SplashFeature,
.Feature.TechStackAppendFeature,
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
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// This is for Tuist
10 changes: 10 additions & 0 deletions Projects/Feature/GSMAuthenticationFormFeature/Project.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import ProjectDescription
import ProjectDescriptionHelpers
import DependencyPlugin

let project = Project.makeModule(
name: ModulePaths.Feature.GSMAuthenticationFormFeature.rawValue,
product: .staticLibrary,
targets: [.interface, .unitTest, .demo],
internalDependencies: []
)
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 GSMAuthenticationFormFeatureTests: XCTestCase {
override func setUpWithError() throws {}

override func tearDownWithError() throws {}

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

0 comments on commit bbef147

Please sign in to comment.