Mark .github/.cspell/rust-dependencies.txt linguist-generated

This commit is contained in:
Taiki Endo
2023-02-09 05:17:26 +09:00
parent 9e1de916ab
commit 416fcad992
2 changed files with 5 additions and 0 deletions

View File

@@ -175,6 +175,9 @@ EOF
echo "${words}" >>.github/.cspell/rust-dependencies.txt
fi
check_diff .github/.cspell/rust-dependencies.txt
if ! grep -Eq "^\.github/\.cspell/rust-dependencies.txt linguist-generated" .gitattributes; then
echo "warning: you may want to mark .github/.cspell/rust-dependencies.txt linguist-generated"
fi
echo "+ npx cspell --no-progress \$(git ls-files)"
npx cspell --no-progress $(git ls-files)