mirror of
https://github.com/coredns/coredns.git
synced 2026-02-08 00:13:10 -05:00
presubmit tests (#3630)
* presubmit tests Rename the test file to presubmit_test.go Remove println from previous merge. Add filename hyphen check Remove the shell presubmit file that did this before Signed-off-by: Miek Gieben <miek@miek.nl> * remove Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
#!/usr/bin/env 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"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
Reference in New Issue
Block a user