diff --git a/.gitignore b/.gitignore index 50c7901c9a..88e4e5c76e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,145 +1,49 @@ -# Miscellaneous -*.class -*.lock -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ -local.properties - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# Visual Studio Code related -.classpath -.project -.settings/ +# See https://www.dartlang.org/guides/libraries/private-files -# Flutter repo-specific -/bin/cache/ -/bin/mingit/ -/dev/benchmarks/mega_gallery/ -/dev/bots/.recipe_deps -/dev/bots/android_tools/ -/dev/docs/doc/ -/dev/docs/flutter.docs.zip -/dev/docs/lib/ -/dev/docs/pubspec.yaml -/dev/integration_tests/**/xcuserdata -/dev/integration_tests/**/Pods -/packages/flutter/coverage/ -version - -# packages file containing multi-root paths -.packages.generated - -# Flutter/Dart/Pub related -**/doc/api/ -**/*.g.dart -**/*.locator.dart -**/*.router.dart +# Files and directories created by pub .dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -**/generated_plugin_registrant.dart .packages -.pub-cache/ -.pub/ build/ -flutter_*.png -linked_*.ds -unlinked.ds -unlinked_spec.ds - -# Android related -.gradle/ -**/android/**/gradle-wrapper.jar -**/android/.gradle -**/android/captures/ -**/android/gradlew -**/android/gradlew.bat -**/android/local.properties -**/android/**/GeneratedPluginRegistrant.java -**/android/key.properties -*.jks +# If you're building an application, you may want to check-in your pubspec.lock +# pubspec.lock -# iOS/XCode related -**/ios/**/*.mode1v3 -**/ios/**/*.mode2v3 -**/ios/**/*.moved-aside -**/ios/**/*.pbxuser -**/ios/**/*.perspectivev3 -**/ios/**/*sync/ -**/ios/**/.sconsign.dblite -**/ios/**/.tags* -**/ios/**/.vagrant/ -**/ios/**/DerivedData/ -**/ios/**/Icon? -**/ios/**/Pods/ -**/ios/**/.symlinks/ -**/ios/**/profile -**/ios/**/xcuserdata -**/ios/.generated/ -**/ios/Flutter/.last_build_id -**/ios/Flutter/App.framework -**/ios/Flutter/Flutter.framework -**/ios/Flutter/Flutter.podspec -**/ios/Flutter/Generated.xcconfig -**/ios/Flutter/app.flx -**/ios/Flutter/app.zip -**/ios/Flutter/flutter_assets/ -**/ios/Flutter/flutter_export_environment.sh -**/ios/ServiceDefinitions.json -**/ios/Runner/GeneratedPluginRegistrant.* +# Directory created by dartdoc +# If you don't generate documentation locally you can remove this line. +doc/api/ -# macOS related -**/macos/Flutter/GeneratedPluginRegistrant.swift -**/macos/Flutter/Flutter-Debug.xcconfig -**/macos/Flutter/Flutter-Release.xcconfig -**/macos/Flutter/Flutter-Profile.xcconfig +# dotenv environment variables file +.env* -# Windows related -**/windows/flutter/ephemeral/ -**/windows/**/*.suo -**/windows/**/*.user -**/windows/**/*.userosscache -**/windows/**/*.sln.docstates -**/windows/x64/ -**/windows/x86/ -**/windows/**/*.[Cc]ache -**/windows/**/!*.[Cc]ache/ +# Avoid committing generated Javascript files: +*.dart.js +*.info.json # Produced by the --dump-info flag. +*.js # When generated by dart2js. Don't specify *.js if your + # project includes source files written in JavaScript. +*.js_ +*.js.deps +*.js.map -# Web related -lib/generated_plugin_registrant.dart +.flutter-plugins +.flutter-plugins-dependencies -# Coverage -coverage/ +# Generated Builder file +**/*.g.dart +**/*.locator.dart +**/*.router.dart -# Symbolication related -app.*.symbols +flutter_*.png -# Obfuscation related -app.*.map.json +#### Custom -# Exceptions to above rules. -!**/ios/**/default.mode1v3 -!**/ios/**/default.mode2v3 -!**/ios/**/default.pbxuser -!**/ios/**/default.perspectivev3 -!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages -!/dev/ci/**/Gemfile.lock +local.properties -# Firebase related -.firebase +# IntelliJ related +*.iml +*.ipr +*.iws +.idea/ -# Dependency directories +# Node Dependency directories node_modules/ # FVM