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 runPub(Directory directory, List<String> pubArgs) {
int updateCount = 0; int updateCount = 0;
for (FileSystemEntity dir in directory.listSync()) { for (FileSystemEntity dir in directory.listSync()) {
if (dir is Directory) { if (dir is Directory && FileSystemEntity.isFileSync(dir.path + Platform.pathSeparator + 'pubspec.yaml')) {
updateCount++; updateCount++;
Stopwatch timer = new Stopwatch()..start(); Stopwatch timer = new Stopwatch()..start();
stdout.write("Updating ${dir.path}..."); stdout.write("Updating ${dir.path}...");

View File

@ -0,0 +1,4 @@
The existence of this directory is temporary. We will shortly be
moving support for SDKs to separate repositories. This directory
currently exists to help us learn what exactly we need to support
third-party SDKs.