alway test --all (temporary exclude ipfs and evmjit)
This commit is contained in:
parent
c4989ddc44
commit
2b02651bbf
@ -20,8 +20,7 @@ if ! type $KCOV > /dev/null; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
. ./scripts/targets.sh
|
RUSTFLAGS="-C link-dead-code" cargo test --all --exclude ipfs --exclude evmjit --no-run || exit $?
|
||||||
RUSTFLAGS="-C link-dead-code" cargo test $TARGETS --no-run || exit $?
|
|
||||||
|
|
||||||
|
|
||||||
KCOV_TARGET="target/cov"
|
KCOV_TARGET="target/cov"
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# generate documentation only for partiy and ethcore libraries
|
# generate documentation only for partiy and ethcore libraries
|
||||||
|
|
||||||
. ./scripts/targets.sh
|
cargo doc --no-deps --verbose --all --exclude ipfs --exclude evmjit &&
|
||||||
|
|
||||||
cargo doc --no-deps --verbose $TARGETS &&
|
|
||||||
echo '<meta http-equiv=refresh content=0;url=ethcore/index.html>' > target/doc/index.html
|
echo '<meta http-equiv=refresh content=0;url=ethcore/index.html>' > target/doc/index.html
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
FILE=./.git/hooks/pre-push
|
FILE=./.git/hooks/pre-push
|
||||||
. ./scripts/targets.sh
|
|
||||||
|
|
||||||
echo "#!/bin/sh\n" > $FILE
|
echo "#!/bin/sh\n" > $FILE
|
||||||
# Exit on any error
|
# Exit on any error
|
||||||
@ -8,7 +7,6 @@ echo "set -e" >> $FILE
|
|||||||
# Run release build
|
# Run release build
|
||||||
echo "cargo build --features dev" >> $FILE
|
echo "cargo build --features dev" >> $FILE
|
||||||
# Build tests
|
# Build tests
|
||||||
echo "cargo test --no-run --features dev \\" >> $FILE
|
echo "cargo test --no-run --features dev --all --exclude ipfs --exclude evmjit" >> $FILE
|
||||||
echo $TARGETS >> $FILE
|
|
||||||
echo "" >> $FILE
|
echo "" >> $FILE
|
||||||
chmod +x $FILE
|
chmod +x $FILE
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
export TARGETS="
|
|
||||||
-p rlp\
|
|
||||||
-p ethash \
|
|
||||||
-p ethcore \
|
|
||||||
-p ethcore-bigint\
|
|
||||||
-p parity-dapps \
|
|
||||||
-p parity-rpc \
|
|
||||||
-p parity-rpc-client \
|
|
||||||
-p rpc-cli \
|
|
||||||
-p ethcore-util \
|
|
||||||
-p ethcore-network \
|
|
||||||
-p ethcore-io \
|
|
||||||
-p ethkey \
|
|
||||||
-p ethstore \
|
|
||||||
-p ethsync \
|
|
||||||
-p ethcore-ipc \
|
|
||||||
-p ethcore-ipc-tests \
|
|
||||||
-p ethcore-ipc-nano \
|
|
||||||
-p ethcore-light \
|
|
||||||
-p parity"
|
|
Loading…
Reference in New Issue
Block a user