From 2f642ce9083c3354b985d956bd57145d2006bc79 Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Fri, 13 May 2016 12:46:50 -0700 Subject: [PATCH] updates from the flutter gallery rename (#3898) * updates from the flutter gallery rename * rename ids to io.flutter.gallery --- dev/tools/mega_gallery.dart | 13 ++++++------- .../flutter_gallery/android/AndroidManifest.xml | 2 +- examples/flutter_gallery/ios/Info.plist | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/dev/tools/mega_gallery.dart b/dev/tools/mega_gallery.dart index bdeb4e010f..e53adc3588 100644 --- a/dev/tools/mega_gallery.dart +++ b/dev/tools/mega_gallery.dart @@ -53,12 +53,11 @@ void main(List args) { copies = int.parse(results['copies']); } - print('Stats:'); - print(' packages/flutter : ${getStatsFor(new Directory("packages/flutter"))}'); - print(' examples/flutter_gallery : ${getStatsFor(new Directory("examples/flutter_gallery"))}'); + print('Making $copies copies of flutter_gallery.'); print(''); - - print('Making $copies copies of flutter_gallery:'); + print('Stats:'); + print(' packages/flutter : ${getStatsFor(new Directory("packages/flutter"))}'); + print(' examples/flutter_gallery : ${getStatsFor(new Directory("examples/flutter_gallery"))}'); Directory lib = _dir(out, 'lib'); if (lib.existsSync()) @@ -82,7 +81,7 @@ void main(List args) { _file(out, '.dartignore').writeAsStringSync(''); // Count source lines and number of files; tell how to run it. - print(' ${path.relative(results["out"])}: ${getStatsFor(out)}'); + print(' ${path.relative(results["out"])} : ${getStatsFor(out)}'); } // TODO(devoncarew): Create an entry-point that builds a UI with all `n` copies. @@ -156,7 +155,7 @@ class SourceStats { int lines = 0; @override - String toString() => '${_comma(files)} files, ${_comma(lines)} lines'; + String toString() => '${_comma(files).padLeft(3)} files, ${_comma(lines).padLeft(6)} lines'; } SourceStats getStatsFor(Directory dir, [SourceStats stats]) { diff --git a/examples/flutter_gallery/android/AndroidManifest.xml b/examples/flutter_gallery/android/AndroidManifest.xml index 08173f820e..537f1dabe6 100644 --- a/examples/flutter_gallery/android/AndroidManifest.xml +++ b/examples/flutter_gallery/android/AndroidManifest.xml @@ -3,7 +3,7 @@ Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> - + diff --git a/examples/flutter_gallery/ios/Info.plist b/examples/flutter_gallery/ios/Info.plist index c89ab01a94..1b8f428c14 100644 --- a/examples/flutter_gallery/ios/Info.plist +++ b/examples/flutter_gallery/ios/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable Runner CFBundleIdentifier - io.flutter.materialgallery + io.flutter.gallery CFBundleInfoDictionaryVersion 6.0 CFBundleName