Add list of blacklisted words.

This commit is contained in:
Gunnar Beutner 2013-10-10 08:53:12 +02:00
parent 6559c4b2ff
commit 4e6cb1e914
2 changed files with 11 additions and 0 deletions

3
doc/BLACKLIST Normal file
View File

@ -0,0 +1,3 @@
seperate
logic
magic

View File

@ -1,5 +1,13 @@
#!/bin/sh
cd -- `dirname $0`
for badword in $(cat BLACKLIST); do
if grep $badword *.md; then
echo "Documentation contains banned word."
exit 1
fi
done
cat <<HTML
<!DOCTYPE html>
<html>