system-config/tools/check_readme.sh

10 lines
203 B
Bash
Executable File

#!/bin/bash
# Trivial script run from tox -e linters to ensure roles have a
# README.rst attached
if ! [ -f $1/README.rst ]; then
echo "*** Missing role documentation: $1/README.rst"
exit 1
fi