openethereum/hook.sh

4 lines
247 B
Bash
Raw Normal View History

2016-01-22 08:09:16 +01:00
#!/bin/sh
2016-03-10 16:40:15 +01:00
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
2016-01-22 08:09:16 +01:00
chmod +x ./.git/hooks/pre-push