From 74c806634efb30a8e8fb4700b04307e99b3c8335 Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Sun, 10 Jan 2016 16:16:29 -0800 Subject: [PATCH] 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. --- dev/update_packages.dart | 2 +- packages/firebase/README.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 packages/firebase/README.md diff --git a/dev/update_packages.dart b/dev/update_packages.dart index 94c1c23f31..8a4cf0e7cd 100755 --- a/dev/update_packages.dart +++ b/dev/update_packages.dart @@ -9,7 +9,7 @@ final String binaryName = Platform.isWindows ? 'pub.bat' : 'pub'; int runPub(Directory directory, List 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}..."); diff --git a/packages/firebase/README.md b/packages/firebase/README.md new file mode 100644 index 0000000000..2180521e55 --- /dev/null +++ b/packages/firebase/README.md @@ -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.