Skip to content

Commit

Permalink
scripts: drop unused third_party/ filters
Browse files Browse the repository at this point in the history
External code lives in vendor/ not third_party/ for Go.
  • Loading branch information
daviddrysdale committed May 4, 2017
1 parent ab0a7e5 commit b98a95a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/presubmit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,9 @@ main() {
grep -v .pb.go | \
grep -v .pb.gw.go | \
grep -v _string.go | \
grep -v third_party/ | \
grep -v vendor/ | \
tr '\n' ' ')"
local proto_srcs="$(find . -name '*.proto' | \
grep -v third_party/ | \
grep -v vendor/ | \
tr '\n' ' ')"

Expand Down Expand Up @@ -106,7 +104,6 @@ main() {
fi

local go_dirs="$(go list ./... | \
grep -v /third_party/ | \
grep -v /vendor/)"

if [[ "${run_generate}" -eq 1 ]]; then
Expand Down

0 comments on commit b98a95a

Please sign in to comment.