mirror of
https://git.proxmox.com/git/rustc
synced 2026-03-28 05:12:26 +00:00
18 lines
281 B
Bash
Executable File
18 lines
281 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
set -x
|
|
|
|
export success=true
|
|
|
|
find . -iname '*.rs' | while read -r file; do
|
|
result=$(grep '.\{79\}' "${file}" | grep --invert 'http')
|
|
if [ "${result}" = "" ]
|
|
then
|
|
:
|
|
else
|
|
echo "file \"${file}\": $result"
|
|
exit 1
|
|
fi
|
|
done
|
|
|