Skip to content

Create a manifest for template (.tmpl) files and use it as the source of truth #59602

@jonahwilliams

Description

@jonahwilliams

Currently the flutter tool uses whatever is on disk to re-create templates. Unfortunately, this can cause issues if the tool logic gets out of sync with the tmp files.

Namely, this has happened because a tmpl file was removed which matched a gitignore filter, thus causing it to be persisted in the git repo.

This should also be usable by IDEs to figure out what templates and files are supported, but the initial version might not have everything.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions