prompt to delete build directory on 'make clean'

pull/95/head
monero-project 10 years ago
parent 56bb9591a5
commit 9c70be0e77

@ -25,6 +25,9 @@ test-release: build-release
all-release: build-release
clean:
@echo "WARNING: Back-up your wallet if it exists within ./build!" ; \
read -r -p "This will destroy the build directory, continue (y/N)?: " CONTINUE; \
[ $$CONTINUE = "y" ] || [ $$CONTINUE = "Y" ] || (echo "Exiting."; exit 1;)
rm -rf build
tags:

Loading…
Cancel
Save