[bs-59] Add zip packaging for cli module

* Also added "spring" shell script (in zip), so you can
unzip it and run out of the box
* To run in developer mode use SPRING_HOME, e.g.

        $ cd spring-bootstrap-cli
        $ SPRING_HOME=target src/main/scripts/spring run samples/web.groovy
* Also added "clean" command to remove spring bootstrap grapes
(useful to force a refresh of snapshot jars)

[#48644271]
This commit is contained in:
Dave Syer
2013-04-24 11:38:57 +01:00
parent 8a4b50e289
commit c91e83c7d2
8 changed files with 164 additions and 15 deletions

View File

@@ -159,7 +159,7 @@ public class SpringBootstrapCliTests {
assertThat(new NoSuchOptionException("name").getMessage(),
equalTo("Unknown option: --name"));
assertThat(new NoSuchCommandException("name").getMessage(),
equalTo("spr: 'name' is not a valid command. See 'spr --help'."));
equalTo("spring: 'name' is not a valid command. See 'spring --help'."));
}
@Test