summaryrefslogtreecommitdiffstats
path: root/admin/docblocks
blob: 6764ff14587e895081803fc469d8bb9631c364c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash
#set -e

bad_files=$(./admin/findphp | xargs -l1 /usr/bin/env perl admin/docblocks.pl)

if [ "$bad_files" ]
    then
    cat <<EOF 1>&2
These files do not start with docblocks:

$bad_files

EOF
    exit 1
fi