cfg/.config/sanity.d/has-readme.sh

11 lines
190 B
Bash
Raw Normal View History

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"
}