Makefile: Improve the 'make clean' to remove all the tmp artifacts
@@ -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
