Improve makefile clean target

This commit is contained in:
Andrey Meshkov 2020-07-10 16:58:52 +03:00
parent 2bbffffcfc
commit db0283098c
1 changed files with 4 additions and 1 deletions

View File

@ -127,6 +127,9 @@ clean:
# make build output
rm -f AdGuardHome
rm -f AdGuardHome.exe
# tests output
rm -rf data
rm coverage.txt
# static build output
rm -rf build
# dist folder
@ -134,7 +137,7 @@ clean:
# client deps
rm -rf client/node_modules
# packr-generated files
PATH=$(GOPATH)/bin:$(PATH) packr clean
command -v packr && PATH=$(GOPATH)/bin:$(PATH) packr clean
docker-multi-arch:
DOCKER_CLI_EXPERIMENTAL=enabled \