Rename flutter packages to flutter pub (#33041)
This commit is contained in:
@@ -565,7 +565,7 @@ linter:
|
||||
if (stdout.isNotEmpty && stdout.first == 'Building flutter tool...') {
|
||||
stdout.removeAt(0);
|
||||
}
|
||||
if (stdout.isNotEmpty && stdout.first.startsWith('Running "flutter packages get" in ')) {
|
||||
if (stdout.isNotEmpty && stdout.first.startsWith('Running "flutter pub get" in ')) {
|
||||
stdout.removeAt(0);
|
||||
}
|
||||
_exitCode = result.exitCode;
|
||||
|
||||
@@ -108,7 +108,7 @@ fi
|
||||
|
||||
# This script generates a unified doc set, and creates
|
||||
# a custom index.html, placing everything into dev/docs/doc.
|
||||
(cd "$FLUTTER_ROOT/dev/tools" && "$FLUTTER" packages get)
|
||||
(cd "$FLUTTER_ROOT/dev/tools" && "$FLUTTER" pub get)
|
||||
(cd "$FLUTTER_ROOT/dev/tools" && "$PUB" get)
|
||||
(cd "$FLUTTER_ROOT" && "$DART" "$FLUTTER_ROOT/dev/tools/dartdoc.dart")
|
||||
(cd "$FLUTTER_ROOT" && "$DART" "$FLUTTER_ROOT/dev/tools/java_and_objc_doc.dart")
|
||||
|
||||
@@ -59,7 +59,7 @@ Future<int> runTest({bool coverage = false}) async {
|
||||
step = TestStep.buildingFlutterTool;
|
||||
} else if (step == TestStep.testPassed && entry.contains('Collecting coverage information...')) {
|
||||
// ignore this line
|
||||
} else if (step.index < TestStep.runningPubGet.index && entry == 'Running "flutter packages get" in automated_tests...') {
|
||||
} else if (step.index < TestStep.runningPubGet.index && entry == 'Running "flutter pub get" in automated_tests...') {
|
||||
// ignore this line
|
||||
step = TestStep.runningPubGet;
|
||||
} else if (step.index < TestStep.testWritesFirstCarriageReturn.index && entry == '') {
|
||||
|
||||
@@ -54,7 +54,7 @@ void main() {
|
||||
throw 'flutter run --release had output on standard error.';
|
||||
if (stdout.first.startsWith('Building flutter tool...'))
|
||||
stdout.removeAt(0);
|
||||
if (stdout.first.startsWith('Running "flutter packages get" in ui...'))
|
||||
if (stdout.first.startsWith('Running "flutter pub get" in ui...'))
|
||||
stdout.removeAt(0);
|
||||
if (stdout.first.startsWith('Initializing gradle...'))
|
||||
stdout.removeAt(0);
|
||||
|
||||
@@ -41,7 +41,7 @@ target 'Runner' do
|
||||
# Flutter Pods
|
||||
generated_xcode_build_settings = parse_KV_file('./Flutter/Generated.xcconfig')
|
||||
if generated_xcode_build_settings.empty?
|
||||
puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter packages get is executed first."
|
||||
puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter pub get is executed first."
|
||||
end
|
||||
generated_xcode_build_settings.map { |p|
|
||||
if p[:name] == 'FLUTTER_FRAMEWORK_DIR'
|
||||
|
||||
Reference in New Issue
Block a user