#!/bin/sh
# script/lint: lint the whole repo as the root make lint does, by
# building the lint phase of the root Dockerfile. golangci-lint never
# runs on the host (REPO_POLICIES.md).
set -eu

ROOT="$(cd "$(dirname "$0")/../.." && pwd -P)"

main() {
    exec "$ROOT/script/lint"
}

main "$@"
