You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the number of places where build_runner is used increases, we need a way to always ensure that the generated files in the repository are consistent with the files used to generate them.
This can be done in two main ways:
Unstage all generated files and add them to the gitignore. In the CI, we would need to run build_runner. When we clone the repository, we would also need to run build_runner.
Run build_runner in the pre-commit-hook. This ensures that the committed files are in sync, as long as the committer has the pre-commit-hook installed.
The text was updated successfully, but these errors were encountered:
As the number of places where build_runner is used increases, we need a way to always ensure that the generated files in the repository are consistent with the files used to generate them.
This can be done in two main ways:
The text was updated successfully, but these errors were encountered: