mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
prompt to delete build directory on 'make clean'
This commit is contained in:
parent
56bb9591a5
commit
9c70be0e77
3
Makefile
3
Makefile
@ -25,6 +25,9 @@ test-release: build-release
|
|||||||
all-release: build-release
|
all-release: build-release
|
||||||
|
|
||||||
clean:
|
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
|
rm -rf build
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
|
Loading…
Reference in New Issue
Block a user