From 8d974a01f7e7f9d469ce5479ebd4785722ff5f47 Mon Sep 17 00:00:00 2001 From: Gary Smith Date: Tue, 1 Nov 2016 07:50:48 -0400 Subject: [PATCH] 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. --- Dart.gitignore | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Dart.gitignore b/Dart.gitignore index 7c280441..4b366585 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