chore: remove tracked generated artifacts#562
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
git rm --cached./coverage/,/ios/build/, root/.firebase/, andwidgetbook/.firebase/..firebaserc,firebase.json,widgetbook/.firebaserc, andwidgetbook/firebase.json.Closes #538
Verification
git ls-files coverage ios/build .firebase widgetbook/.firebasereturned 350 tracked generated files:.firebase2,coverage209,ios/build85,widgetbook/.firebase54.git ls-files -- coverage ios/build .firebase widgetbook/.firebasereturns 0.git check-ignore -v coverage/lcov.info .firebase/hosting.d2Vi.cache widgetbook/.firebase/hosting.YnVpbGQvd2Vi.cacheconfirms the new ignore rules cover regenerated artifacts.find ios/build -type f -print -quit | xargs -r git check-ignore -v --confirms theios/buildrule covers an existing generated iOS cache file.git ls-files .firebaserc firebase.json widgetbook/.firebaserc widgetbook/firebase.jsonconfirms Firebase source/config files remain tracked.git diff --checkpassed.dart run build_runner build --delete-conflicting-outputscompleted locally to regenerate ignored Dart outputs needed by analyzer.flutter analyzepassed after regeneration. The first analyzer run failed on missing generated files in the fresh worktree, before any source-code issue was found.