From 6248d8c86ef191d3e7f092270af84aebeb4111d1 Mon Sep 17 00:00:00 2001 From: Nils Breunese Date: Sun, 28 Dec 2014 19:11:28 +0100 Subject: [PATCH] Add docs for Spring Boot CLI via MacPorts Add MacPorts section to reference docs since the Spring Boot CLI is now also maintained in MacPorts. Closes gh-2250 --- .../src/main/asciidoc/getting-started.adoc | 16 ++++++++++++++-- .../src/main/asciidoc/spring-boot-cli.adoc | 2 +- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/getting-started.adoc b/spring-boot-docs/src/main/asciidoc/getting-started.adoc index a4da410bdf..7974ce4d7d 100644 --- a/spring-boot-docs/src/main/asciidoc/getting-started.adoc +++ b/spring-boot-docs/src/main/asciidoc/getting-started.adoc @@ -353,6 +353,18 @@ Just execute `brew update` and try again. +[[getting-started-macports-cli-installation]] +==== MacPorts installation +If you are on a Mac and using http://www.macports.org/[MacPorts], all you need to do to +install the Spring Boot CLI is: + +[indent=0] +---- + $ sudo port install spring-boot-cli +---- + + + [[getting-started-cli-command-line-completion]] ==== Command-line completion Spring Boot CLI ships with scripts that provide command completion for @@ -370,8 +382,8 @@ manually, e.g. if you have installed using `GVM` grab help jar run test version ---- -NOTE: If you install Spring Boot CLI using Homebrew, the command-line completion scripts -are automatically registered with your shell. +NOTE: If you install Spring Boot CLI using Homebrew or MacPorts, the command-line +completion scripts are automatically registered with your shell. diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc index e8635d7234..14ba668db5 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-cli.adoc @@ -14,7 +14,7 @@ a new project or write your own command for it. [[cli-installation]] == Installing the CLI The Spring Boot CLI can be installed manually; using GVM (the Groovy Environment -Manually) or using Homebrew if you are an OSX user. See +Manually) or using Homebrew or MacPorts if you are an OSX user. See _<>_ in the "`Getting started`" section for comprehensive installation instructions.