openethereum/hook.sh
2016-03-10 16:40:57 +01:00

4 lines
247 B
Bash
Executable File

#!/bin/sh
echo "#!/bin/sh\ncargo build --features dev-clippy && cargo test --no-run -p ethash -p ethcore-util -p ethcore -p ethsync -p ethcore-rpc -p parity -p ethminer --features dev-clippy" > ./.git/hooks/pre-push
chmod +x ./.git/hooks/pre-push