jtdLab / rapid

Rapid CLI allows developers to create scalable Flutter Apps using predefined components.
MIT License
5 stars 1 forks source link

ci: add mechanism to handle build_runner generated files of templates better #107

Closed jtdLab closed 1 year ago

jtdLab commented 1 year ago

Currently they are pregenerated and added to the templates. When the codegenerator output changes the templates have to be updated. If this mechanism is kept add step into ci pipline which updates the generated files automatically when ever code generator ouptus changes.

Hint: Removing all pre generated files from templates and run build_runner on them (this is not good because it takes long and slows down command execution time drastically)

jtdLab commented 1 year ago

Will be done manually for now. As it hard to automate codegen and transform back to placholders when using lists in mustach