aboutsummaryrefslogtreecommitdiff
path: root/.presubmit/filename-hyphen
blob: 927ac1ff220b083f2d4cf5129079b050d02e98a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/bash

echo "** presubmit/$(basename $0)"

for dir in "$@"; do
    if find $dir | grep '-'; then
        echo "** presubmit/$(basename $0): please use an underscore in filenames instead of a hyphen"
    fi
done