From 7b8d104ae034a938e6b1f1e613aecf02b3e56910 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Thu, 2 Feb 2017 01:08:43 -0800 Subject: [PATCH] Silence cargo and diesel in todo bootstrap. --- examples/todo/bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/todo/bootstrap.sh b/examples/todo/bootstrap.sh index e1b5aad4..b78d93c2 100755 --- a/examples/todo/bootstrap.sh +++ b/examples/todo/bootstrap.sh @@ -6,11 +6,11 @@ DATABASE_URL=${SCRIPT_PATH}/db/db.sql pushd $SCRIPT_PATH > /dev/null # install the diesel CLI tools if they're not installed if ! command -v diesel >/dev/null 2>&1; then - cargo install diesel_cli + cargo install diesel_cli > /dev/null fi # create db/db.sql - diesel migration --database-url=$DATABASE_URL run + diesel migration --database-url=$DATABASE_URL run > /dev/null popd $SCRIPT_PATH > /dev/null echo "export DATABASE_URL=$DATABASE_URL"