Commit 2f642ce9 authored by Devon Carew's avatar Devon Carew

updates from the flutter gallery rename (#3898)

* updates from the flutter gallery rename

* rename ids to io.flutter.gallery
parent 7e4a91f3
...@@ -53,12 +53,11 @@ void main(List<String> args) { ...@@ -53,12 +53,11 @@ void main(List<String> args) {
copies = int.parse(results['copies']); copies = int.parse(results['copies']);
} }
print('Stats:'); print('Making $copies copies of flutter_gallery.');
print(' packages/flutter : ${getStatsFor(new Directory("packages/flutter"))}');
print(' examples/flutter_gallery : ${getStatsFor(new Directory("examples/flutter_gallery"))}');
print(''); print('');
print('Stats:');
print('Making $copies copies of flutter_gallery:'); print(' packages/flutter : ${getStatsFor(new Directory("packages/flutter"))}');
print(' examples/flutter_gallery : ${getStatsFor(new Directory("examples/flutter_gallery"))}');
Directory lib = _dir(out, 'lib'); Directory lib = _dir(out, 'lib');
if (lib.existsSync()) if (lib.existsSync())
...@@ -82,7 +81,7 @@ void main(List<String> args) { ...@@ -82,7 +81,7 @@ void main(List<String> args) {
_file(out, '.dartignore').writeAsStringSync(''); _file(out, '.dartignore').writeAsStringSync('');
// Count source lines and number of files; tell how to run it. // 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. // TODO(devoncarew): Create an entry-point that builds a UI with all `n` copies.
...@@ -156,7 +155,7 @@ class SourceStats { ...@@ -156,7 +155,7 @@ class SourceStats {
int lines = 0; int lines = 0;
@override @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]) { SourceStats getStatsFor(Directory dir, [SourceStats stats]) {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Use of this source code is governed by a BSD-style license that can be Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. found in the LICENSE file.
--> -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="io.flutter.MaterialGallery" android:versionCode="1" android:versionName="0.0.1"> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="io.flutter.gallery" android:versionCode="1" android:versionName="0.0.1">
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" /> <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />
<uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.INTERNET"/>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>Runner</string> <string>Runner</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>io.flutter.materialgallery</string> <string>io.flutter.gallery</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment