mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 08:17:37 +00:00
prompt to delete build directory on 'make clean'
This commit is contained in:
parent
56bb9591a5
commit
9c70be0e77
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -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…
Reference in a new issue