Commit 3994d3a5 authored by Miek Gieben's avatar Miek Gieben Committed by Yong Tang

Add presubmit check for hyphens in filenames. (#1847)

No other fixes; this only adds the check.
parent 4f0b36e5
#!/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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment