martin/.cargo-husky/hooks/pre-push

18 lines
342 B
Plaintext
Raw Normal View History

#!/bin/sh
#
# See https://github.com/rhysd/cargo-husky#readme
#
set -e
if ! command -v just > /dev/null; then
2022-12-14 04:14:07 +03:00
echo "`just` is not installed. See https://github.com/casey/just#readme for installation instructions, or use"
echo ""
echo " cargo install just"
echo ""
exit 1
fi
echo "+just git-pre-push"
just git-pre-push