github.com/sagernet/quic-go@v0.43.1-beta.1/remove-unused.sh (about) 1 #!/usr/bin/env bash 2 3 function remove_unused() { 4 git rm -rf --ignore-unmatch \ 5 .circleci .github docs *.yml \ 6 *_test.go **/*_test.go **/testdata testutils integrationtests \ 7 mock_*.go **/mock_*.go internal/mocks mockgen.go tools.go \ 8 example interop fuzzing 9 } 10 11 remove_unused 12 remove_unused 13 14 go get -u 15 go mod tidy