commit 17976827de1fbcaf735882395287b9ad824ee824 parent 83c41b2affad6ed031c8b6e6a55eb255bfb1fa59 Author: Marcello Stanisci <stanisci.m@gmail.com> Date: Tue, 14 Apr 2020 23:01:07 +0200 provide installation prefix option Diffstat:
| M | nexus/README | | | 8 | +++++++- |
| M | nexus/build.gradle | | | 4 | ++++ |
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/nexus/README b/nexus/README @@ -11,9 +11,15 @@ Running the sandbox Run the Nexus with the following command -$ cd <this repository> +$ cd <top-level directory of this repository> $ ./gradlew run --console=plain -p nexus +Installing the Nexus start script along the project files +========================================================= + +$ cd <top-level directory of this repository> +$ ./gradlew -q -Pprefix=<installation prefix> nexus:installDist + Documentation ============= diff --git a/nexus/build.gradle b/nexus/build.gradle @@ -45,6 +45,10 @@ application { mainClassName = "tech.libeufin.nexus.MainKt" } +installDist { + destinationDir = file("${project.findProperty('prefix') ?: '/tmp'}") +} + dependencies { implementation project(":util") compile "io.ktor:ktor-client-apache:1.2.4"