From aca8db11fa2e54f4386e9d81585141b8d847e393 Mon Sep 17 00:00:00 2001 From: adoble Date: Mon, 11 Feb 2019 17:28:51 +0100 Subject: [PATCH] Updated to reflect that we are now building with gradle. --- INSTALL.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 0395722..c031933 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -2,10 +2,11 @@ ## Windows -1. Download the source code -2. Run `mvn install` -3. Set the environment variable `ADR_HOME` to the the directory containing the target -4. Set the environment variable `EDITOR` or `VISUAL` to the location of the editor you what to use for editing the ADRs (e.g. Atom) -5. Add `...\launch-scripts\adr.bat` to the `PATH` environment variable +1. Download the source code. +2. Make sure you have gradle installed (https://gradle.org/). +3. Run `gradlew releaseJar`. This should create a file `build/releases/adr-j.jar`. +4. Set the environment variable `ADR_HOME` to the folder where you downloaded the source code. This should contain the `build` folder. +5. Set the environment variable `EDITOR` or `VISUAL` to the location of the editor you what to use for editing the ADRs (e.g. Atom) +6. Add `%ADR_HOME%\launch-scripts\adr.bat` to the `PATH` environment variable You should now be able to type `adr` from the command line and see a response.