From 8250ca31ff60d71891f3b869b8f2910a9131e722 Mon Sep 17 00:00:00 2001 From: Tim Kuehn Date: Fri, 15 Nov 2019 17:19:08 -0800 Subject: [PATCH] Remove --no-default-features from pre-push hook. It seemingly doesn't work at the root of a virtual workspace. Not sure if this is new behavior or just a new explicit error message. --- hooks/pre-push | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/pre-push b/hooks/pre-push index 5740172..2958894 100755 --- a/hooks/pre-push +++ b/hooks/pre-push @@ -89,8 +89,8 @@ if [ "$?" == 0 ]; then exit 1 fi - try_run "Building ... " cargo build --no-default-features --color=always - try_run "Testing ... " cargo test --no-default-features --color=always + try_run "Building ... " cargo build --color=always + try_run "Testing ... " cargo test --color=always try_run "Testing with all features enabled ... " cargo test --all-features --color=always for EXAMPLE in $(cargo run --example 2>&1 | grep ' ' | awk '{print $1}') do