Changeset View
Changeset View
Standalone View
Standalone View
bin/update
Show All 17 Lines | if ! which pre-commit &> /dev/null ; then | ||||
echo "The pre-commit command is required, please install it before" | echo "The pre-commit command is required, please install it before" | ||||
echo "running this command. See README.md for more information." | echo "running this command. See README.md for more information." | ||||
exit 1 | exit 1 | ||||
fi | fi | ||||
git pull | git pull | ||||
mr -j 4 update | mr -j 4 update | ||||
mr run pre-commit install | |||||
if [ "$1" = "-i" -o "$1" = "--install" ] ; then | if [ "$1" = "-i" -o "$1" = "--install" ] ; then | ||||
./bin/install | ./bin/install | ||||
fi | fi |