chore: ignore flutter auto-generated files

These files are regenerated by flutter pub get and contain machine-
specific paths (FLUTTER_ROOT, FLUTTER_APPLICATION_PATH). They should
not be tracked — the file header itself states "do not check into
version control".

- Update .gitignore: prepend **/ to .flutter-plugins-dependencies so
  it matches in sub-packages, add Generated.xcconfig and
  flutter_export_environment.sh patterns.
- git rm --cached the 4 files that were already tracked (keeps them
  on disk for local builds but removes from repo).
This commit is contained in:
2026-04-19 01:58:45 +02:00
parent 6cf994cd5d
commit bd7c47351f
5 changed files with 5 additions and 30 deletions

6
.gitignore vendored
View File

@@ -1,6 +1,6 @@
# Dart / Flutter workspace caches (regenerated by `flutter pub get` / `dart pub get`)
.dart_tool/
.flutter-plugins-dependencies
**/.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
@@ -15,6 +15,10 @@
**/macos/Flutter/ephemeral/
**/windows/flutter/ephemeral/
# Flutter iOS build config (regenerated on pub get; contains machine-specific paths)
**/ios/Flutter/Generated.xcconfig
**/ios/Flutter/flutter_export_environment.sh
# IDE
.idea/
*.iml