#!/bin/sh # script/fmt-check: check formatting (read-only). Same tools and scope # as script/fmt, but fails instead of writing: the Go on the host, the # markdown with prettier in a container. set -eu SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)" main() { "$SCRIPT_DIR/fmt-check-go" "$SCRIPT_DIR/fmt-check-markdown" } main "$@"