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

Commit

Permalink
ci: Don't validate license in testdata dir
Browse files Browse the repository at this point in the history
  • Loading branch information
sdboyer committed Jul 21, 2018
1 parent e3ceae3 commit 040e1e3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hack/validate-licence.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
set -e

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

0 comments on commit 040e1e3

Please sign in to comment.