diff --git a/.tool/check-license b/.tool/check-license deleted file mode 100755 index ab6f803b..00000000 --- a/.tool/check-license +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash - -set -o errexit -set -o nounset -set -o pipefail - -ret=0 - -for file in $(find . -type f -iname '*.go' ! -path './vendor/*'); do - (head -n3 "${file}" | grep -Eq "(Copyright|generated|GENERATED)") || (echo "${file}:missing license header" && ret=1) -done - -exit $ret