Skip to content

Best way to execute build_runner on all packages? (dart and flutter) #447

Answered by blaugold
ynnob asked this question in Q&A
Discussion options

You must be logged in to vote

dart run build_runner build --delete-conflicting-outputs should work for both Flutter and Dart packages.

I would also recommend enabling usePubspecOverrides, if you haven't:

command:
  bootstrap:
    usePubspecOverrides: true

If you do, you will also want to add pubspec_overrides.yaml to your .gitignore file.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ynnob
Comment options

Answer selected by ynnob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants