diff --git a/Makefile b/Makefile index 2068b651..61cb3d12 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # See docs/installing.md -build: nodes localnet haveno +build: localnet haveno clean: ./gradlew clean @@ -11,9 +11,6 @@ clean-localnet: localnet: mkdir -p .localnet -nodes: localnet - ./scripts/haveno_deps.sh - haveno: ./gradlew build @@ -159,7 +156,7 @@ monero-private2: --rpc-login superuser:abctesting123 \ --rpc-access-control-origins http://localhost:8080 \ --fixed-difficulty 100 - + funding-wallet: ./.localnet/monero-wallet-rpc \ --stagenet \ diff --git a/build.gradle b/build.gradle index 22b31b20..483ab1ce 100644 --- a/build.gradle +++ b/build.gradle @@ -363,6 +363,13 @@ configure(project(':core')) { test { systemProperty 'jdk.attach.allowAttachSelf', true } + + task havenoDeps(type: Exec) { + workingDir '..' + commandLine './scripts/haveno_deps.sh' + } + if (osdetector.os != 'windows') processResources.dependsOn havenoDeps // before both test and build + else println "Haveno dependencies must be downloaded manually on Windows" } configure(project(':cli')) {