mirror of
https://github.com/github/gitignore
synced 2024-11-22 03:34:23 +01:00
Update to take into account Dart SDK 1.20
Dart SDK 1.20 no longer creates `packages` directories. Added comments to `pub` files section to differentiate what is needed for >= SDK 1.20 and what is additionally needed for older SDK versions.
This commit is contained in:
parent
0f88fa75de
commit
8d974a01f7
@ -1,13 +1,19 @@
|
||||
# See https://www.dartlang.org/tools/private-files.html
|
||||
|
||||
# Files and directories created by pub
|
||||
.buildlog
|
||||
|
||||
# SDK 1.20 and later (no longer creates packages directories)
|
||||
.packages
|
||||
.project
|
||||
.pub/
|
||||
build/
|
||||
|
||||
# Older SDK versions
|
||||
# (Include if the minimum SDK version specified in pubsepc.yaml is earlier than 1.20)
|
||||
.project
|
||||
.buildlog
|
||||
**/packages/
|
||||
|
||||
|
||||
# Files created by dart2js
|
||||
# (Most Dart developers will use pub build to compile Dart, use/modify these
|
||||
# rules if you intend to use dart2js directly
|
||||
|
Loading…
Reference in New Issue
Block a user