Use correct indentation
Some code has only two spaces of indentation, we favour 4 in bash scripts.
This commit is contained in:
parent
3786680cc7
commit
8163497ab3
|
@ -37,27 +37,27 @@ cargo test --verbose
|
||||||
|
|
||||||
if [ "$DO_NO_STD" = true ]
|
if [ "$DO_NO_STD" = true ]
|
||||||
then
|
then
|
||||||
echo "********* Testing no-std build *************"
|
echo "********* Testing no-std build *************"
|
||||||
# Build no_std, to make sure that cfg(test) doesn't hide any issues
|
# Build no_std, to make sure that cfg(test) doesn't hide any issues
|
||||||
cargo build --verbose --features="no-std" --no-default-features
|
cargo build --verbose --features="no-std" --no-default-features
|
||||||
|
|
||||||
# Build std + no_std, to make sure they are not incompatible
|
# Build std + no_std, to make sure they are not incompatible
|
||||||
cargo build --verbose --features="no-std"
|
cargo build --verbose --features="no-std"
|
||||||
|
|
||||||
# Test no_std
|
# Test no_std
|
||||||
cargo test --verbose --features="no-std" --no-default-features
|
cargo test --verbose --features="no-std" --no-default-features
|
||||||
|
|
||||||
# Build all features
|
# Build all features
|
||||||
cargo build --verbose --features="no-std $FEATURES" --no-default-features
|
cargo build --verbose --features="no-std $FEATURES" --no-default-features
|
||||||
|
|
||||||
# Build specific features
|
# Build specific features
|
||||||
for feature in ${FEATURES}
|
for feature in ${FEATURES}
|
||||||
do
|
do
|
||||||
cargo build --verbose --features="no-std $feature"
|
cargo build --verbose --features="no-std $feature"
|
||||||
done
|
done
|
||||||
|
|
||||||
cargo run --example bip32 7934c09359b234e076b9fa5a1abfd38e3dc2a9939745b7cc3c22a48d831d14bd
|
cargo run --example bip32 7934c09359b234e076b9fa5a1abfd38e3dc2a9939745b7cc3c22a48d831d14bd
|
||||||
cargo run --no-default-features --features no-std --example bip32 7934c09359b234e076b9fa5a1abfd38e3dc2a9939745b7cc3c22a48d831d14bd
|
cargo run --no-default-features --features no-std --example bip32 7934c09359b234e076b9fa5a1abfd38e3dc2a9939745b7cc3c22a48d831d14bd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Test each feature
|
# Test each feature
|
||||||
|
|
Loading…
Reference in New Issue