#!/usr/bin/env bash
#
# Blocks a commit that CI would reject anyway, on the two checks that are
# fast enough to run every time.
#
# Install with:
# git config core.hooksPath scripts/hooks
#
# Bypass with `git commit --no-verify` when you mean to.
failed=0
if ! ; then
failed=1
fi
# Deliberately not `--all-targets`: the fast path is the library graph, and a
# hook that takes two minutes is a hook people disable.
if ! ; then
failed=1
fi