Skip to content

Commit

Permalink
Update gitignore template for flutter create (flutter#21192)
Browse files Browse the repository at this point in the history
* update gitignore template to mirror

* Add a newline to end of doc

* remove Android/ and iOS/ subfolder gitignores
  • Loading branch information
Tim Sneath authored Sep 8, 2018
1 parent 9352ab6 commit e8fa45c
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 58 deletions.
68 changes: 65 additions & 3 deletions packages/flutter_tools/templates/create/.gitignore.tmpl
Original file line number Diff line number Diff line change
@@ -1,9 +1,71 @@
# Miscellaneous
*.class
*.lock
*.log
*.pyc
*.swp
.DS_Store
.dart_tool/
.atom/
.buildlog/
.history
.svn/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# Visual Studio Code related
.vscode/

# Flutter/Dart/Pub related
**/doc/api/
.dart_tool/
.flutter-plugins
.packages
.pub-cache/
.pub/

build/

.flutter-plugins
# Android related
**/android/**/gradle-wrapper.jar
**/android/.gradle
**/android/captures/
**/android/gradlew
**/android/gradlew.bat
**/android/local.properties
**/android/**/GeneratedPluginRegistrant.java

# 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/App.framework
**/ios/Flutter/Flutter.framework
**/ios/Flutter/Generated.xcconfig
**/ios/Flutter/app.flx
**/ios/Flutter/app.zip
**/ios/Flutter/flutter_assets/
**/ios/ServiceDefinitions.json
**/ios/Runner/GeneratedPluginRegistrant.*

# 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
10 changes: 0 additions & 10 deletions packages/flutter_tools/templates/create/android.tmpl/.gitignore

This file was deleted.

45 changes: 0 additions & 45 deletions packages/flutter_tools/templates/create/ios.tmpl/.gitignore

This file was deleted.

0 comments on commit e8fa45c

Please sign in to comment.