1 2 3 4 5 6 7
#!/usr/bin/env bash # lint — run linter; dispatches by VERB_LAYER to lint.d/ layer. set -euo pipefail DIR="$(dirname "${BASH_SOURCE[0]}")/lint.d" LAYER="${VERB_LAYER:-}" [[ -n "$LAYER" && -f "$DIR/$LAYER" ]] && exec "$DIR/$LAYER" "$@" exec "$DIR/l1" "$@"