2018-06-25 11:21:45 +02:00
|
|
|
#!/usr/bin/env sh
|
2017-08-02 12:50:36 +02:00
|
|
|
|
|
|
|
ERR=0
|
|
|
|
cargo build --release -p chainspec
|
|
|
|
|
|
|
|
for spec in ethcore/res/*.json; do
|
|
|
|
if ! ./target/release/chainspec "$spec"; then ERR=1; fi
|
|
|
|
done
|
|
|
|
|
|
|
|
for spec in ethcore/res/ethereum/*.json; do
|
|
|
|
if ! ./target/release/chainspec "$spec"; then ERR=1; fi
|
|
|
|
done
|
|
|
|
|
|
|
|
exit $ERR
|