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

bad_files=$(find Net Tests -name \*.php |
    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