mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
pass .packages path to snapshot invocation (#34517)
This commit is contained in:
parent
8b2ccca3a4
commit
fd1291fe5e
@ -180,4 +180,4 @@ fi
|
|||||||
|
|
||||||
# FLUTTER_TOOL_ARGS isn't quoted below, because it is meant to be considered as
|
# FLUTTER_TOOL_ARGS isn't quoted below, because it is meant to be considered as
|
||||||
# separate space-separated args.
|
# separate space-separated args.
|
||||||
"$DART" $FLUTTER_TOOL_ARGS "$SNAPSHOT_PATH" "$@"
|
"$DART" --packages="$FLUTTER_TOOLS_DIR/.packages" $FLUTTER_TOOL_ARGS "$SNAPSHOT_PATH" "$@"
|
||||||
|
@ -177,7 +177,7 @@ REM
|
|||||||
REM Do not use the CALL command in the next line to execute Dart. CALL causes
|
REM Do not use the CALL command in the next line to execute Dart. CALL causes
|
||||||
REM Windows to re-read the line from disk after the CALL command has finished
|
REM Windows to re-read the line from disk after the CALL command has finished
|
||||||
REM regardless of the ampersand chain.
|
REM regardless of the ampersand chain.
|
||||||
"%dart%" %FLUTTER_TOOL_ARGS% "%snapshot_path%" %* & exit /B !ERRORLEVEL!
|
"%dart%" --packages="%flutter_tools_dir%\.packages" %FLUTTER_TOOL_ARGS% "%snapshot_path%" %* & exit /B !ERRORLEVEL!
|
||||||
|
|
||||||
:final_exit
|
:final_exit
|
||||||
EXIT /B %exit_code%
|
EXIT /B %exit_code%
|
||||||
|
Loading…
Reference in New Issue
Block a user