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.
This commit is contained in:
Tim Kuehn
2019-11-15 17:19:08 -08:00
parent 7cd776143b
commit 8250ca31ff

View File

@@ -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