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:
parent
a03382033d
commit
74c806634e
@ -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}...");
|
||||||
|
4
packages/firebase/README.md
Normal file
4
packages/firebase/README.md
Normal 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.
|
Loading…
x
Reference in New Issue
Block a user