Skip to content

TuistUI v0.2.2

Latest
Compare
Choose a tag to compare
@jihoonahn jihoonahn released this 21 Sep 06:21
· 19 commits to main since this release
38950e0

What's Changed

  • Update Project Template

Project.swift

import ProjectDescription
import ProjectDescriptionHelpers
import TuistUI

let project = {{ name }}().module()

Tuist/ProjectDescriptionHelpers/Projects/{{name}}.swift

import ProjectDescription
import TuistUI

public struct {{ name }}: Module {

    var body: some Module {
        Project {
           ....
        }
    }
}
  • Update Workspace Template

Workspace.swift

import ProjectDescription
import ProjectDescriptionHelpers
import TuistUI

let workspace = {{ name }}().module()

Tuist/ProjectDescriptionHelpers/Workspace/{{name}}.swift

import ProjectDescription
import TuistUI

public struct {{ name }}: Module {

    var body: some Module {
        Workspace {
           ....
        }
    }
}

Project File and Workplace File are gathered in one place to facilitate quick modifications.