Skip to content

Commit

Permalink
cmd/govim: remove testdata directories from golang.org/x/tools "vendo…
Browse files Browse the repository at this point in the history
…r" (#844)

These are useless so let's just remove them.
  • Loading branch information
myitcv committed Apr 7, 2020
1 parent 80f0949 commit 0c3dd98
Show file tree
Hide file tree
Showing 238 changed files with 4 additions and 8,796 deletions.
5 changes: 4 additions & 1 deletion _scripts/revendorToolsInternal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ else
find ./cmd/govim/internal/golang_org_x_tools -name "*.go" -exec sed -i $regex {} +
fi

# Remove _test.go files and testdata directories
find ./cmd/govim/internal/golang_org_x_tools/ -name "*_test.go" -exec rm {} +
rm -f ./cmd/govim/internal/golang_org_x_tools/LICENSE
find ./cmd/govim/internal/golang_org_x_tools/ -type d -name testdata -exec rm -rf {} +

# Copy license
cp $tools/LICENSE ./cmd/govim/internal/golang_org_x_tools

go mod tidy

This file was deleted.

Loading

0 comments on commit 0c3dd98

Please sign in to comment.