Stop calling top level pub (#89032)
* Use `dart __deprecated_pub` instead of `pub` to invoke pub from tools The top level `pub` commmand has been deprecated and will print a message. It is however implemented via the __deprecated_pub command that prints no message.
This commit is contained in:
@@ -8,9 +8,9 @@ REM This should match the ci.sh file in this directory.
|
||||
REM This is called from the LUCI recipes:
|
||||
REM https://flutter.googlesource.com/recipes/+/refs/heads/master/recipe_modules/adhoc_validation/resources/customer_testing.bat
|
||||
|
||||
pub get
|
||||
dart __deprecated_pub get
|
||||
CD ..\tools
|
||||
pub get
|
||||
dart __deprecated_pub get
|
||||
CD ..\customer_testing
|
||||
|
||||
CMD /S /C "IF EXIST "..\..\bin\cache\pkg\tests\" RMDIR /S /Q ..\..\bin\cache\pkg\tests"
|
||||
|
||||
@@ -15,8 +15,8 @@ set -ex
|
||||
# largely not needed to run the flutter/tests tests.
|
||||
#
|
||||
# However, we do need to update this directory and the tools directory.
|
||||
pub get
|
||||
(cd ../tools; pub get) # used for find_commit.dart below
|
||||
dart __deprecated_pub get
|
||||
(cd ../tools; dart __deprecated_pub get) # used for find_commit.dart below
|
||||
|
||||
# Next we need to update the flutter/tests checkout.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user