Skip to content

Commit

Permalink
Add info about .dart_tool and .pub directories
Browse files Browse the repository at this point in the history
Fixes #614
  • Loading branch information
kwalrath committed Feb 28, 2018
1 parent b6efbff commit 499c314
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/_guides/libraries/private-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ build/
pubspec.lock // Except for application packages
{% endprettify %}

<aside class="alert alert-info" markdown="1">
**Dart 2 note:** The `.dart_tool` directory, which is new in Dart 2,
is used by pub and other tools. It replaces the `.pub` directory as of
[SDK commit 699f7bc.](https://github.com/dart-lang/sdk/commit/699f7bc1b187557b55a285f7d950ea051de3c2d9)
</aside>

**Don't commit** the API documentation directory created by dartdoc:

{% prettify none %}
Expand Down

0 comments on commit 499c314

Please sign in to comment.