bash-it/lint_clean_files.sh

8 lines
148 B
Bash
Executable File

#!/usr/bin/env bash
# Pull list of checkable files from clean_files.txt
#
mapfile -t FILES < clean_files.txt
pre-commit run --files "${FILES[@]}"