mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Make make localnet
command idempotent
Sometimes when running setup something goes wrong and the ./dao-state dir is still hanging around, requiring manual cleanup nad preventing from simply re-running the command.
This commit is contained in:
parent
650c5894db
commit
e3a3fb5f1c
3
Makefile
3
Makefile
@ -114,6 +114,7 @@ clean-build:
|
||||
|
||||
clean-localnet:
|
||||
rm -rf $(STATE_DIR)
|
||||
rm -rf ./dao-setup
|
||||
|
||||
# Build all Bisq binaries and generate the shell scripts used to run
|
||||
# them in the targets below
|
||||
@ -123,7 +124,7 @@ build:
|
||||
# Unpack and customize a Bitcoin regtest node and Alice and Bob Bisq
|
||||
# nodes that have been preconfigured with a blockchain containing the
|
||||
# BSQ genesis transaction
|
||||
localnet:
|
||||
localnet: clean-localnet
|
||||
# Unpack the old dao-setup.zip and move things around for more concise
|
||||
# and intuitive naming. This is a temporary measure until we clean these
|
||||
# resources up more thoroughly.
|
||||
|
Loading…
Reference in New Issue
Block a user