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
|
||||
|
||||
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 New Issue
Block a user