cfg/.config/sanity.d/has-readme.sh
Knut Ahlers b7e83d8269
Add sanity check framework
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-09-06 13:36:10 +02:00

10 lines
190 B
Bash

function sanity_has_readme() {
report debug "Check for README.md existence"
[[ -f README.md ]] || {
report error "No README.md found"
return 1
}
report success "README.md found"
}