mirror of https://github.com/ledisdb/ledisdb.git
6 lines
425 B
Bash
Executable File
6 lines
425 B
Bash
Executable File
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 {} |