Skip to content

Commit

Permalink
Mark .github/.cspell/rust-dependencies.txt linguist-generated
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Feb 8, 2023
1 parent 7f23e3d commit b5b4da0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
* text=auto eol=lf
.github/.cspell/rust-dependencies.txt linguist-generated
3 changes: 3 additions & 0 deletions tools/tidy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b5b4da0

Please sign in to comment.