suppress pub override warning; decouple the analyzer versions (#5991)

* suppress warning; decouple the analyzer versions

* also pass in --no-packages-dir
This commit is contained in:
Devon Carew
2016-09-22 07:40:38 -07:00
committed by GitHub
parent 8a186f3bbd
commit 8755e569ca
4 changed files with 15 additions and 19 deletions

View File

@@ -41,7 +41,7 @@ DART="$DART_SDK_PATH/bin/dart"
echo Building flutter tool...
FLUTTER_DIR="$FLUTTER_ROOT/packages/flutter"
(cd "$FLUTTER_TOOLS_DIR"; "../../bin/cache/dart-sdk/bin/pub" get --verbosity=warning)
(cd "$FLUTTER_TOOLS_DIR"; "../../bin/cache/dart-sdk/bin/pub" get --verbosity=error --no-packages-dir)
"$DART" --snapshot="$SNAPSHOT_PATH" --packages="$FLUTTER_TOOLS_DIR/.packages" "$SCRIPT_PATH"
echo $REVISION > "$STAMP_PATH"
fi