fixed scripts and reverted ipfs comment
This commit is contained in:
parent
bfbeda4ede
commit
6e5a563c06
@ -119,8 +119,7 @@ mod tests {
|
|||||||
use ethcore::client::TestBlockChainClient;
|
use ethcore::client::TestBlockChainClient;
|
||||||
|
|
||||||
fn get_mocked_handler() -> IpfsHandler {
|
fn get_mocked_handler() -> IpfsHandler {
|
||||||
//IpfsHandler::new(None, None, Arc::new(TestBlockChainClient::new()))
|
IpfsHandler::new(None, None, Arc::new(TestBlockChainClient::new()))
|
||||||
unimplemented!();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -20,7 +20,7 @@ if ! type $KCOV > /dev/null; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
RUSTFLAGS="-C link-dead-code" cargo test --all --exclude ipfs --exclude evmjit --no-run || exit $?
|
RUSTFLAGS="-C link-dead-code" cargo test --all --exclude parity-ipfs-api --exclude evmjit --no-run || exit $?
|
||||||
|
|
||||||
|
|
||||||
KCOV_TARGET="target/cov"
|
KCOV_TARGET="target/cov"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# generate documentation only for partiy and ethcore libraries
|
# generate documentation only for partiy and ethcore libraries
|
||||||
|
|
||||||
cargo doc --no-deps --verbose --all --exclude ipfs --exclude evmjit &&
|
cargo doc --no-deps --verbose --all --exclude parity-ipfs-api --exclude evmjit &&
|
||||||
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
|
||||||
|
@ -7,6 +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 --all --exclude ipfs --exclude evmjit" >> $FILE
|
echo "cargo test --no-run --features dev --all --exclude parity-ipfs-api --exclude evmjit" >> $FILE
|
||||||
echo "" >> $FILE
|
echo "" >> $FILE
|
||||||
chmod +x $FILE
|
chmod +x $FILE
|
||||||
|
Loading…
Reference in New Issue
Block a user