flutter: fix buildPhase after .packages deprecation

https://medium.com/dartlang/dart-2-18-f4b3101f146c#514e
This commit is contained in:
nanashi0x74 2022-09-06 11:48:03 +02:00
parent 747f298be5
commit ffb72bdc5b

View file

@ -65,7 +65,7 @@ let
popd
local revision="$(cd "$FLUTTER_ROOT"; git rev-parse HEAD)"
${dart}/bin/dart --snapshot="$SNAPSHOT_PATH" --packages="$FLUTTER_TOOLS_DIR/.packages" "$SCRIPT_PATH"
${dart}/bin/dart --snapshot="$SNAPSHOT_PATH" --packages="$FLUTTER_TOOLS_DIR/.dart_tool/package_config.json" "$SCRIPT_PATH"
echo "$revision" > "$STAMP_PATH"
echo -n "${version}" > version