diff --git a/Projects/Presentation/Sources/Main/MainReactor.swift b/Projects/Presentation/Sources/Main/MainReactor.swift index 8326b9e..89d596f 100644 --- a/Projects/Presentation/Sources/Main/MainReactor.swift +++ b/Projects/Presentation/Sources/Main/MainReactor.swift @@ -9,9 +9,7 @@ public final class MainReactor: BaseReactor, Stepper { public let steps = PublishRelay() public let initialState = State() private let disposeBag = DisposeBag() - public init() { - - } + public init() {} public enum Action { } diff --git a/Projects/Presentation/Sources/Main/MainViewController.swift b/Projects/Presentation/Sources/Main/MainViewController.swift index 72ae168..4a2a066 100644 --- a/Projects/Presentation/Sources/Main/MainViewController.swift +++ b/Projects/Presentation/Sources/Main/MainViewController.swift @@ -1,5 +1,3 @@ import UIKit -public class MainViewController: BaseReactorViewController { - -} +public class MainViewController: BaseReactorViewController {} diff --git a/README.md b/README.md new file mode 100644 index 0000000..b41faaf --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Emoting-iOS \ No newline at end of file diff --git a/Tuist/ProjectDescriptionHelpers/Action+Template.swift b/Tuist/ProjectDescriptionHelpers/Action+Template.swift new file mode 100644 index 0000000..d2aa5f8 --- /dev/null +++ b/Tuist/ProjectDescriptionHelpers/Action+Template.swift @@ -0,0 +1,9 @@ +import ProjectDescription + +public extension TargetScript { + static let swiftLint = TargetScript.pre( + path: Path.relativeToRoot("Scripts/SwiftLintRunScript.sh"), + name: "SwiftLint", + basedOnDependencyAnalysis: false + ) +} diff --git a/Tuist/ProjectDescriptionHelpers/Project+Templates.swift b/Tuist/ProjectDescriptionHelpers/Project+Templates.swift index bc24180..308b067 100644 --- a/Tuist/ProjectDescriptionHelpers/Project+Templates.swift +++ b/Tuist/ProjectDescriptionHelpers/Project+Templates.swift @@ -33,7 +33,7 @@ public extension Project { infoPlist: .extendingDefault(with: additionalPlistRows), sources: sources, resources: resources, - scripts: [], + scripts: [.swiftLint], dependencies: dependencies ) ]