From 8163497ab30f8cdc6171417ad7bec223915723f9 Mon Sep 17 00:00:00 2001 From: Tobin Harding Date: Tue, 8 Mar 2022 15:30:09 +1100 Subject: [PATCH] Use correct indentation Some code has only two spaces of indentation, we favour 4 in bash scripts. --- contrib/test.sh | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/contrib/test.sh b/contrib/test.sh index b6da35fc..922e3ea7 100755 --- a/contrib/test.sh +++ b/contrib/test.sh @@ -37,27 +37,27 @@ cargo test --verbose if [ "$DO_NO_STD" = true ] then -echo "********* Testing no-std build *************" - # Build no_std, to make sure that cfg(test) doesn't hide any issues - cargo build --verbose --features="no-std" --no-default-features + echo "********* Testing no-std build *************" + # Build no_std, to make sure that cfg(test) doesn't hide any issues + cargo build --verbose --features="no-std" --no-default-features - # Build std + no_std, to make sure they are not incompatible - cargo build --verbose --features="no-std" + # Build std + no_std, to make sure they are not incompatible + cargo build --verbose --features="no-std" - # Test no_std - cargo test --verbose --features="no-std" --no-default-features + # Test no_std + cargo test --verbose --features="no-std" --no-default-features - # Build all features - cargo build --verbose --features="no-std $FEATURES" --no-default-features + # Build all features + cargo build --verbose --features="no-std $FEATURES" --no-default-features - # Build specific features - for feature in ${FEATURES} - do - cargo build --verbose --features="no-std $feature" - done + # Build specific features + for feature in ${FEATURES} + do + cargo build --verbose --features="no-std $feature" + done - cargo run --example bip32 7934c09359b234e076b9fa5a1abfd38e3dc2a9939745b7cc3c22a48d831d14bd - cargo run --no-default-features --features no-std --example bip32 7934c09359b234e076b9fa5a1abfd38e3dc2a9939745b7cc3c22a48d831d14bd + cargo run --example bip32 7934c09359b234e076b9fa5a1abfd38e3dc2a9939745b7cc3c22a48d831d14bd + cargo run --no-default-features --features no-std --example bip32 7934c09359b234e076b9fa5a1abfd38e3dc2a9939745b7cc3c22a48d831d14bd fi # Test each feature