From f6a011a743abbfdf29180fa0c89763b2189df174 Mon Sep 17 00:00:00 2001 From: Greg Turnquist Date: Thu, 3 Oct 2013 16:39:16 -0500 Subject: [PATCH] Add documentation on how to use gvm to support CLI dev work --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/README.md b/README.md index d33f7913c3..1dacc2c810 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,33 @@ itself and the Spring Boot CLI. Get `gvm` from $ gvm install springboot $ spring --version Spring Boot v0.5.0.M4 + +> **Note:** If you are developing features for the CLI and want easy access to the version you just built, follow these extra instructions. + + $ gvm install springboot dev /path/to/spring-boot/spring-boot-cli/target/spring-boot-cli-0.5.0.BUILD-SNAPSHOT-bin/spring-0.5.0.BUILD-SNAPSHOT/ + $ gvm use springboot dev + $ spring --version + Spring CLI v0.5.0.BUILD-SNAPSHOT + +This will install a local instance of `spring` called the `dev` instance inside your gvm repository. It points at your target build location, so every time you rebuild Spring Boot, `spring` will be up-to-date. + +You can see it by doing this: + + $ gvm ls springboot + +``` +================================================================================ +Available Springboot Versions +================================================================================ + > + dev + * 0.5.0.M4 + +================================================================================ ++ - local version +* - installed +> - currently in use +================================================================================ +``` ### OSX Homebrew installation If you are on a Mac and using [homebrew](http://brew.sh/), all you need to do to install