Makefile: Improve the 'make clean' to remove all the tmp artifacts

release-3.5
Piotr Tabor 2020-09-20 14:06:13 +02:00
parent 16eeedffaa
commit d65b5d6791
1 changed files with 3 additions and 6 deletions

View File

@ -18,18 +18,15 @@ build:
clean:
rm -f ./codecov
rm -rf ./agent-*
rm -rf ./covdir
rm -f ./*.coverprofile
rm -f ./*.log
rm -f ./bin/Dockerfile-release
rm -rf ./bin/etcd*
rm -rf ./default.etcd
rm -rf ./tests/e2e/default.etcd
rm -rf ./release
rm -f ./snapshot/localhost:*
rm -f ./tools/etcd-dump-metrics/localhost:*
find ./ -name "127.0.0.1:*" -o -name "localhost:*" -delete
rm -rf ./coverage/*.err ./coverage/*.out
rm -rf ./tests/e2e/default.proxy
find ./ -name "127.0.0.1:*" -o -name "localhost:*" -o -name "*.log" -o -name "agent-*" -o -name "*.coverprofile" -o -name "testname-proxy-*" | xargs -r rm -r
docker-clean:
docker images