Skip to content

Commit 499c314

Browse files
committed
Add info about .dart_tool and .pub directories
Fixes #614
1 parent b6efbff commit 499c314

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/_guides/libraries/private-files.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ build/
3030
pubspec.lock // Except for application packages
3131
{% endprettify %}
3232

33+
<aside class="alert alert-info" markdown="1">
34+
**Dart 2 note:** The `.dart_tool` directory, which is new in Dart 2,
35+
is used by pub and other tools. It replaces the `.pub` directory as of
36+
[SDK commit 699f7bc.](https://github.com/dart-lang/sdk/commit/699f7bc1b187557b55a285f7d950ea051de3c2d9)
37+
</aside>
38+
3339
**Don't commit** the API documentation directory created by dartdoc:
3440

3541
{% prettify none %}

0 commit comments

Comments
 (0)