mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
[DOCS] Fix local build directory in README.asciidoc (#64408)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
a5168572d5
commit
d23e138d49
1 changed files with 16 additions and 2 deletions
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue