From db23e4f579f4316647e4650bd424447cac0ad75a Mon Sep 17 00:00:00 2001 From: Gary Smith Date: Wed, 21 Oct 2015 09:11:27 -0400 Subject: [PATCH 1/3] Update Dart.gitignore Modify patterns to explicitly match directories Modified patterns to match files created by tool in Dart SDK 1.12: - Added patterns matching files listed in https://www.dartlang.org/tools/private-files.html - Added *.js, removed *.js_, *.dart.js to match files created by dart2js --- Dart.gitignore | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Dart.gitignore b/Dart.gitignore index b1287d98..21d34d6e 100644 --- a/Dart.gitignore +++ b/Dart.gitignore @@ -1,18 +1,18 @@ -# Don’t commit the following directories created by pub. +# Files and directories created by pub .buildlog +.packages +.project .pub/ build/ -packages -.packages +**/packages/ -# Or the files created by dart2js. -*.dart.js -*.js_ +# Files created by dart2js +*.js *.js.deps *.js.map -# Or the files created by dartdoc. +# Directory created by dartdoc doc/ -# Don't commit pubspec lock file. (Library packages only! Remove pattern if developing an application package.) +# Don't commit pubspec lock file (Library packages only! Remove pattern if developing an application package) pubspec.lock From 4892e962c2f95b055e368a84e6f7f88542d2dc5d Mon Sep 17 00:00:00 2001 From: Gary Smith Date: Wed, 21 Oct 2015 10:29:21 -0400 Subject: [PATCH 2/3] Add *.info.json to dart2js patterns --- Dart.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/Dart.gitignore b/Dart.gitignore index 21d34d6e..fc5964d7 100644 --- a/Dart.gitignore +++ b/Dart.gitignore @@ -10,6 +10,7 @@ build/ *.js *.js.deps *.js.map +*.info.json # Directory created by dartdoc doc/ From 3a622f2dcba185683746b72ade44b64a6b9db48d Mon Sep 17 00:00:00 2001 From: Gary Smith Date: Wed, 21 Oct 2015 10:45:49 -0400 Subject: [PATCH 3/3] Add *.precompiled.js Add *.precompiled.js as per https://stackoverflow.com/questions/20314796/which-files-are-generated-when-executing-dart2js-and-why --- Dart.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/Dart.gitignore b/Dart.gitignore index fc5964d7..4af0fb23 100644 --- a/Dart.gitignore +++ b/Dart.gitignore @@ -8,6 +8,7 @@ build/ # Files created by dart2js *.js +*.precompiled.js *.js.deps *.js.map *.info.json