Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit dd5c305

Browse files
committed
ci: Don't validate license in testdata dir
1 parent e3ceae3 commit dd5c305

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hack/validate-licence.bash

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
set -e
99

1010
go build -o licenseok ./hack/licenseok/main.go
11-
find . -path ./vendor -prune -o -regex ".+\.pb\.go$" -prune -o -type f -regex ".*\.\(go\|proto\)$"\
12-
-printf '%P\n' | xargs ./licenseok
11+
find . -path ./vendor -prune -o -path ./cmd/dep/testdata -prune\
12+
-o -regex ".+\.pb\.go$" -prune -o -type f -regex ".*\.\(go\|proto\)$"\
13+
-printf '%P\n' | xargs ./licenseok

0 commit comments

Comments
 (0)