Adding 'pub get' to the 'compile_xxxx.sh' in the Scenario app (flutter/engine#12699)

This commit is contained in:
Chris Yang
2019-10-01 04:10:11 +08:00
committed by GitHub
parent d18af5b812
commit 97699cc609
3 changed files with 15 additions and 0 deletions

View File

@@ -20,6 +20,11 @@ if [[ ! -d "$DEVICE_TOOLS" ]]; then
exit 1
fi
PUB_VERSION=$($HOST_TOOLS/dart-sdk/bin/pub --version)
echo "Using Pub ${PUB_VERSION} from $HOST_TOOLS/dart-sdk/bin/pub"
$HOST_TOOLS/dart-sdk/bin/pub get
echo "Using dart from $HOST_TOOLS, gen_snapshot from $DEVICE_TOOLS."
OUTDIR="${BASH_SOURCE%/*}/build/android"

View File

@@ -20,6 +20,11 @@ if [[ ! -d "$DEVICE_TOOLS" ]]; then
exit 1
fi
PUB_VERSION=$($HOST_TOOLS/dart-sdk/bin/pub --version)
echo "Using Pub ${PUB_VERSION} from $HOST_TOOLS/dart-sdk/bin/pub"
$HOST_TOOLS/dart-sdk/bin/pub get
echo "Using dart from $HOST_TOOLS, gen_snapshot from $DEVICE_TOOLS."
OUTDIR="${BASH_SOURCE%/*}/build/ios"

View File

@@ -20,6 +20,11 @@ if [[ ! -d "$DEVICE_TOOLS" ]]; then
exit 1
fi
PUB_VERSION=$($HOST_TOOLS/dart-sdk/bin/pub --version)
echo "Using Pub ${PUB_VERSION} from $HOST_TOOLS/dart-sdk/bin/pub"
$HOST_TOOLS/dart-sdk/bin/pub get
echo "Using dart from $HOST_TOOLS, gen_snapshot from $DEVICE_TOOLS."
OUTDIR="${BASH_SOURCE%/*}/build/ios"