Add a note about the firebase/ directory.

Also, make dev/update_packages.dart skip directories that have no
pubspec.yaml, since firebase/ doesn't have one.
This commit is contained in:
Ian Hickson
2016-01-10 16:16:29 -08:00
parent a03382033d
commit 74c806634e
2 changed files with 5 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ final String binaryName = Platform.isWindows ? 'pub.bat' : 'pub';
int runPub(Directory directory, List<String> pubArgs) {
int updateCount = 0;
for (FileSystemEntity dir in directory.listSync()) {
if (dir is Directory) {
if (dir is Directory && FileSystemEntity.isFileSync(dir.path + Platform.pathSeparator + 'pubspec.yaml')) {
updateCount++;
Stopwatch timer = new Stopwatch()..start();
stdout.write("Updating ${dir.path}...");