diff --git a/doc/build.md b/doc/build.md index f2a4dc6..9736433 100644 --- a/doc/build.md +++ b/doc/build.md @@ -3,7 +3,7 @@ First of all, Install [sbt](http://www.scala-sbt.org/index.html). -``` +```shell $ brew install sbt ``` @@ -12,7 +12,7 @@ If you want to test GitBucket, type the following command in the root directory of the source tree. -``` +```shell $ sbt ~jetty:start ``` @@ -25,7 +25,7 @@ To build war file, run the following command: -``` +```shell $ sbt package ``` @@ -33,7 +33,7 @@ To build an executable war file, run -``` +```shell $ sbt executable ``` @@ -41,8 +41,15 @@ Run tests spec --------- +Before running tests, you need to install docker. + +```shell +$ brew cask install docker # Install Docker +$ open /Applications/Docker.app # Start Docker +``` + To run the full series of tests, run the following command: -``` +```shell $ sbt test ```