Skip to content

Commit 7fde8e4

Browse files
authored
Updated .gitignore to use latest Flutter template. (#585)
1 parent a9f13ed commit 7fde8e4

File tree

2 files changed

+54
-581
lines changed

2 files changed

+54
-581
lines changed

.gitignore

Lines changed: 54 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,69 @@
1-
# Miscellaneous
2-
*.class
3-
*.log
4-
*.pyc
5-
*.swp
6-
.DS_Store
7-
.atom/
8-
.buildlog/
9-
.history
10-
.svn/
111

12-
# IntelliJ related
13-
*.iml
14-
*.ipr
15-
*.iws
16-
.idea/
17-
18-
# The .vscode folder contains launch configuration and tasks you configure in
19-
# VS Code which you may wish to be included in version control, so this line
20-
# is commented out by default.
21-
#.vscode/
2+
# Created by https://www.toptal.com/developers/gitignore/api/flutter
3+
# Edit at https://www.toptal.com/developers/gitignore?templates=flutter
224

5+
### Flutter ###
236
# Flutter/Dart/Pub related
247
**/doc/api/
258
.dart_tool/
269
.flutter-plugins
2710
.flutter-plugins-dependencies
11+
.fvm/
2812
.packages
2913
.pub-cache/
3014
.pub/
31-
/build/
32-
33-
# Web related
15+
build/
16+
coverage/
3417
lib/generated_plugin_registrant.dart
18+
# For library packages, don’t commit the pubspec.lock file.
19+
# Regenerating the pubspec.lock file lets you test your package against the latest compatible versions of its dependencies.
20+
# See https://dart.dev/guides/libraries/private-files#pubspeclock
21+
pubspec.lock
3522

36-
# Exceptions to above rules.
37-
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
23+
# Android related
24+
**/android/**/gradle-wrapper.jar
25+
**/android/.gradle
26+
**/android/captures/
27+
**/android/gradlew
28+
**/android/gradlew.bat
29+
**/android/key.properties
30+
**/android/local.properties
31+
**/android/**/GeneratedPluginRegistrant.java
3832

39-
# Old files and folders
40-
**.old
41-
**.old/
33+
# iOS/XCode related
34+
**/ios/**/*.mode1v3
35+
**/ios/**/*.mode2v3
36+
**/ios/**/*.moved-aside
37+
**/ios/**/*.pbxuser
38+
**/ios/**/*.perspectivev3
39+
**/ios/**/*sync/
40+
**/ios/**/.sconsign.dblite
41+
**/ios/**/.tags*
42+
**/ios/**/.vagrant/
43+
**/ios/**/DerivedData/
44+
**/ios/**/Icon?
45+
**/ios/**/Pods/
46+
**/ios/**/.symlinks/
47+
**/ios/**/profile
48+
**/ios/**/xcuserdata
49+
**/ios/.generated/
50+
**/ios/Flutter/.last_build_id
51+
**/ios/Flutter/App.framework
52+
**/ios/Flutter/Flutter.framework
53+
**/ios/Flutter/Flutter.podspec
54+
**/ios/Flutter/Generated.xcconfig
55+
**/ios/Flutter/app.flx
56+
**/ios/Flutter/app.zip
57+
**/ios/Flutter/flutter_assets/
58+
**/ios/Flutter/flutter_export_environment.sh
59+
**/ios/ServiceDefinitions.json
60+
**/ios/Runner/GeneratedPluginRegistrant.*
4261

43-
# Generated documentattion
44-
doc/
62+
# Exceptions to above rules.
63+
!**/ios/**/default.mode1v3
64+
!**/ios/**/default.mode2v3
65+
!**/ios/**/default.pbxuser
66+
!**/ios/**/default.perspectivev3
67+
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
4568

46-
# FVM files
47-
.fvm/
69+
# End of https://www.toptal.com/developers/gitignore/api/flutter

0 commit comments

Comments
 (0)