openethereum/hook.sh

4 lines
182 B
Bash
Raw Normal View History

2016-01-22 08:09:16 +01:00
#!/bin/sh
echo "#!/bin/sh\ncargo test -p ethash -p ethcore-util -p ethcore -p ethsync -p ethcore-rpc -p parity --features dev" > ./.git/hooks/pre-push
2016-01-22 08:09:16 +01:00
chmod +x ./.git/hooks/pre-push