diff --git a/clear_vendor.sh b/clear_vendor.sh deleted file mode 100755 index 81ba6b127..000000000 --- a/clear_vendor.sh +++ /dev/null @@ -1,6 +0,0 @@ -find vendor \( -type f -or -type l \) -not -name "*.go" -not -name "LICENSE" -not -name "*.s" -not -name "PATENTS" -not -name "*.h" -not -name "*.c" | xargs -I {} rm {} -# delete all test files -find vendor -type f -name "*_generated.go" | xargs -I {} rm {} -find vendor -type f -name "*_test.go" | xargs -I {} rm {} -find vendor -type d -name "_vendor" | xargs -I {} rm -rf {} -find vendor -type d -empty | xargs -I {} rm -rf {} \ No newline at end of file