diff --git a/hook.sh b/hook.sh new file mode 100755 index 000000000..a82f926b9 --- /dev/null +++ b/hook.sh @@ -0,0 +1,3 @@ +#!/bin/sh +echo "#!/bin/sh\ncargo test" >> ./.git/hooks/pre-push +chmod +x ./.git/hooks/pre-push