gb vendor fetch github.com/jaegertracing/jaeger
This commit is contained in:
parent
c4947c2ffb
commit
4a0b24c7f4
3087 changed files with 515963 additions and 0 deletions
17
vendor/src/go.uber.org/zap/check_license.sh
vendored
Normal file
17
vendor/src/go.uber.org/zap/check_license.sh
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
ERROR_COUNT=0
|
||||
while read -r file
|
||||
do
|
||||
case "$(head -1 "${file}")" in
|
||||
*"Copyright (c) "*" Uber Technologies, Inc.")
|
||||
# everything's cool
|
||||
;;
|
||||
*)
|
||||
echo "$file is missing license header."
|
||||
(( ERROR_COUNT++ ))
|
||||
;;
|
||||
esac
|
||||
done < <(git ls-files "*\.go")
|
||||
|
||||
exit $ERROR_COUNT
|
||||
Loading…
Add table
Add a link
Reference in a new issue