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 2025-10-27 16:24:19 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
e04128c32baf4f60f70c6971c2cbb607a8582c2f
coredns/.presubmit/context

9 lines
200 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
Presubmit (#1719) * build: add presubmits We didn't have a way to encode presubmit; with this hack we can just run a bunch of script on the build; this allows us to automatically capture things like using the wrong context and maybe other fluff. This allows us to cut down on code reviews and just have the build fail. * hook it up * put presubmit in checks; so we do it for tests as well * Add explicit exit 1 if things fails
2018-04-23 16:45:49 +01:00
echo "** presubmit/$(basename $0)"
if grep -lr "golang.org/x/net/context" "$@"; then
echo "** presubmit/$(basename $0): please use std lib's 'context' instead"
exit 1
fi
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.7 Page: 27ms 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