Skip a parent project folder when generating project files to the output folder, from output_folder/{project_name}/files to output_folder/files.
Clean up the output folder, even at the root, to have only the final generated project in the end.
Update the script usage in workflows + README.
Insight 📝
The idea is to set this Flutter Templates as a "Template Repository". As a Template repository, after creating a new repo from this template easily, the user can be able to run the script to generate the new project at the root folder as default. To make this work, we must
update to skip a parent project folder.
update the mason scripts (pre_gen, post_gen) to clean up the output folder, even at the root, to have only the final generated project in the end (no stuff related to the template project).
Proof Of Work 📹
I switched the default branch to this branch for demonstration.
What happened 👀
output_folder/{project_name}/files
tooutput_folder/files
.Insight 📝
The idea is to set this Flutter Templates as a "Template Repository". As a Template repository, after creating a new repo from this template easily, the user can be able to run the script to generate the new project at the root folder as default. To make this work, we must
Proof Of Work 📹
I switched the default branch to this branch for demonstration.
https://github.com/nimblehq/flutter-templates/assets/16315358/49bf208d-59ea-4df9-9c34-d0b3e19ba25c