mirror of
https://github.com/retoaccess1/haveno-reto.git
synced 2024-12-11 12:23:32 +01:00
run haveno_deps script on gradle build instead of from make (#230)
Closes #184 Maybe it would be "nicer" to download the binaries with a gradle task utilising gradle tasks' inputs and outputs but that's for someone more skilled with gradle
This commit is contained in:
parent
17d109a15e
commit
3552fb77bd
5
Makefile
5
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
|
||||
|
||||
|
@ -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')) {
|
||||
|
Loading…
Reference in New Issue
Block a user