Skip to content
hook.sh 247 B
Newer Older
Tomusdrw's avatar
Tomusdrw committed
#!/bin/sh
Tomasz Drwięga's avatar
Tomasz Drwięga committed
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
Tomusdrw's avatar
Tomusdrw committed
chmod +x ./.git/hooks/pre-push