mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Use "flutter pub get" to resolve packages when building the docs snippets tool (#170381)
"flutter pub get" should be used instead of "dart pub get" for packages within the Flutter pub workspace. This was causing issues for some runs of the docs_test builder on CI. (example: https://ci.chromium.org/ui/p/flutter/builders/try/Linux%20docs_test/68448/overview)
This commit is contained in:
parent
d1f63480c4
commit
3f99c8d192
@ -113,7 +113,7 @@ function build_snippets_tool() (
|
||||
echo "Building snippets tool executable."
|
||||
command cd "$snippets_dir"
|
||||
mkdir -p "$output_dir"
|
||||
dart pub get
|
||||
"$FLUTTER" pub get
|
||||
dart compile exe -o "$output_dir/snippets" bin/snippets.dart
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user