mirror of
https://github.com/larsbrinkhoff/awesome-cpus
synced 2025-04-18 19:12:42 +03:00
Add a test to check for README.md, but don't run it.
This commit is contained in:
parent
c54dcb33f6
commit
f40b95e449
10
tests.sh
10
tests.sh
@ -40,6 +40,16 @@ test_commits() {
|
|||||||
echo OK
|
echo OK
|
||||||
}
|
}
|
||||||
|
|
||||||
|
test_readme() {
|
||||||
|
echo -n "Checking that every directory has a README.md... "
|
||||||
|
|
||||||
|
for i in *; do
|
||||||
|
if test -d "$i"; then
|
||||||
|
test -f "$i/README.md" || error "The $i directory has no README.md."
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
test_directory_size
|
test_directory_size
|
||||||
test_commits
|
test_commits
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user