add vendor

This commit is contained in:
Yuyan Zhou
2019-04-24 15:45:34 +08:00
parent c350d16ca1
commit daf4a0e0f5
534 changed files with 256940 additions and 2 deletions
+17
View 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