Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] #121 - Tuist로 모듈 분리하기 #125

Merged
merged 9 commits into from
Mar 19, 2023
Prev Previous commit
Next Next commit
[Fix] #121 - app 타겟 추가
0inn committed Mar 17, 2023
commit 4cbe0356609a2cb132876c3adbffcd0aeda86770
2 changes: 1 addition & 1 deletion SOPT-Stamp-iOS/Projects/Demo/SOPT-iOS-Demo/Project.swift
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ import EnvPlugin

let project = Project.makeModule(
name: "\(Environment.workspaceName)-Demo",
targets: [.unitTest],
targets: [.app, .unitTest],
internalDependencies: [
.data,
.Features.RootFeature
2 changes: 1 addition & 1 deletion SOPT-Stamp-iOS/Projects/SOPT-iOS/Project.swift
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ import EnvPlugin

let project = Project.makeModule(
name: Environment.workspaceName,
targets: [.unitTest],
targets: [.app, .unitTest],
internalDependencies: [
.data,
.Features.RootFeature
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@ import Foundation
import ProjectDescription

public enum FeatureTarget {
case app // iOSApp
case interface // Feature Interface
case dynamicFramework
case staticFramework
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ public extension Project {

// MARK: - App

if name.contains(Environment.workspaceName) {
if targets.contains(.app) {
let bundleSuffix = name.contains("Demo") ? "demo" : "release"
let infoPlist = name.contains("Demo") ? Project.demoInfoPlist : Project.appInfoPlist