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.