From 764341d91a40e8f1477ac5c105a8903ff86aa7ce Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Mon, 23 Nov 2015 19:05:34 -0800 Subject: [PATCH] Hide pub get output when updating flutter tool Fixes https://github.com/flutter/flutter.github.io/issues/100 --- bin/flutter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/flutter b/bin/flutter index 5dabfb4d2d..380357652c 100755 --- a/bin/flutter +++ b/bin/flutter @@ -17,7 +17,7 @@ DART=dart REVISION=`(cd "$FLUTTER_ROOT"; git rev-parse HEAD)` if [ ! -f "$SNAPSHOT_PATH" ] || [ ! -f "$STAMP_PATH" ] || [ `cat "$STAMP_PATH"` != "$REVISION" ] || [ "$FLUTTER_TOOLS_DIR/pubspec.yaml" -nt "$FLUTTER_TOOLS_DIR/pubspec.lock" ]; then echo Updating flutter tool... - (cd "$FLUTTER_TOOLS_DIR"; pub get) + (cd "$FLUTTER_TOOLS_DIR"; pub get > /dev/null) $DART --snapshot="$SNAPSHOT_PATH" --package-root="$FLUTTER_TOOLS_DIR/packages" "$SCRIPT_PATH" echo -n $REVISION > "$STAMP_PATH" fi