Skip to content

Commit ae6ac2c

Browse files
authored
Add .dart_tool to gitignore (flutter#14932)
Dart is migrating to .dart_tool/ as the location for cached artifacts and other temporary files generated by tooling in the SDK. As part of this, pub will be migrating from .pub to .dart_tool/pub. In future, this path will also be used for other tooling, such as package:build.
1 parent 9c895fa commit ae6ac2c

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ version
3333

3434
# Flutter/Dart/Pub related
3535
**/doc/api/
36+
.dart_tool/
3637
.flutter-plugins
3738
.packages
3839
.pub-cache/

dev/tools/vitool/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Files and directories created by pub
2+
.dart_tool/
23
.packages
34
.pub/
45
build/

packages/flutter_tools/templates/create/.gitignore.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.DS_Store
22
.atom/
3+
.dart_tool/
34
.idea
45
.vscode/
56
.packages

packages/flutter_tools/templates/package/.gitignore.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.DS_Store
22
.atom/
3+
.dart_tool/
34
.idea
45
.packages
56
.pub/

packages/flutter_tools/templates/plugin/.gitignore.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.DS_Store
22
.atom/
3+
.dart_tool/
34
.idea
45
.packages
56
.pub/

0 commit comments

Comments
 (0)