[DOCS] Fix local build directory in README.asciidoc (#64408) (#64483)

Co-authored-by: Peter Lamar <peter.r.lamar@gmail.com>
This commit is contained in:
James Rodewig 2020-11-02 11:31:47 -05:00 committed by GitHub
parent e0d0ac86dd
commit 8a752f1934
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 2 deletions

View File

@ -192,9 +192,23 @@ We have just covered a very small portion of what Elasticsearch is all about. Fo
Elasticsearch uses https://gradle.org[Gradle] for its build system. Elasticsearch uses https://gradle.org[Gradle] for its build system.
In order to create a distribution, simply run the `./gradlew assemble` command in the cloned directory. For a local distribution, you can run:
----
./gradlew localDistro
----
which will build the appropriate distribution for the current platform as well as prints the output location
The distribution for each project will be created under the `build/distributions` directory in that project. In order to create a distribution:
----
./gradlew assemble
----
To build the distribution for a specific platform, run the related command:
----
./gradlew :distribution:archives:linux-tar:assemble
./gradlew :distribution:archives:darwin-tar:assemble
./gradlew :distribution:archives:windows-zip:assemble
----
Finished distributions are output to `distributions/archives`.
See the xref:TESTING.asciidoc[TESTING] for more information about running the Elasticsearch test suite. See the xref:TESTING.asciidoc[TESTING] for more information about running the Elasticsearch test suite.