diff --git a/Dart.gitignore b/Dart.gitignore index 7c280441649860d99e9df07c398b32012ea8fffd..4b366585ddc72341c8724e47d7542ab6c05a52e9 100644 --- a/Dart.gitignore +++ b/Dart.gitignore @@ -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