4 lines
95 B
Bash
4 lines
95 B
Bash
|
#!/bin/sh
|
||
|
echo "#!/bin/sh\ncargo test" >> ./.git/hooks/pre-push
|
||
|
chmod +x ./.git/hooks/pre-push
|