Logo
Explore Help
Sign In
Mirrors/coredns
1
0
Fork 0
You've already forked coredns
mirror of https://github.com/coredns/coredns.git synced 2026-02-14 11:23:08 -05:00
Code Issues Packages Projects Releases Wiki Activity
Files
1743ca3f026b25eb5b0311f134a5b25bb0b66321
coredns/.presubmit/filename-hyphen

11 lines
240 B
Plaintext
Raw Normal View History

Update shebangs for environmentally finding Bash -- Compatibility update to provide support for platforms that do not ship Bash in their /bin (#2841)
2019-05-27 04:45:38 -05:00
#!/usr/bin/env bash
Add presubmit check for hyphens in filenames. (#1847) No other fixes; this only adds the check.
2018-06-01 21:25:36 +01:00
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"
Make presubmit actually fail the build (#2013) The exit code wasn't properly acted upon in the makefile. Make filename-hyphen actually return an non-zero exit code. Signed-off-by: Miek Gieben <miek@miek.nl>
2018-07-30 07:41:52 +01:00
exit 1
Add presubmit check for hyphens in filenames. (#1847) No other fixes; this only adds the check.
2018-06-01 21:25:36 +01:00
fi
done
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 25ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API