From 45cf31650c52fab3a9066554c47852d9f3201f34 Mon Sep 17 00:00:00 2001 From: Anthony Romano Date: Tue, 22 Mar 2016 17:21:05 -0700 Subject: [PATCH] test: ignore vendor/ directory on license check --- test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test b/test index 242a75aa2..99d3d92fa 100755 --- a/test +++ b/test @@ -102,7 +102,7 @@ function fmt_tests { fi echo "Checking for license header..." - licRes=$(for file in $(find . -type f -iname '*.go' ! -path './Godeps/*'); do + licRes=$(for file in $(find . -type f -iname '*.go' ! -path './vendor/*'); do head -n3 "${file}" | grep -Eq "(Copyright|generated|GENERATED)" || echo -e " ${file}" done;) if [ -n "${licRes}" ]; then