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

This commit is contained in:
Chris Yang 2019-10-01 04:10:11 +08:00 committed by GitHub
parent 94363be1ea
commit 138c3ff4bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"