Docs: Update CONTRIBUTING.md with shortcut command for assembling only the tar distribution (#35276)

* Add --parallel flag.
This commit is contained in:
CJ Cenizal 2018-11-06 17:22:50 -08:00 committed by GitHub
parent f395b1eace
commit 1614107d59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 3 deletions

View File

@ -196,11 +196,26 @@ the settings window and/or restart IntelliJ to see your changes take effect.
### Creating A Distribution
To create a distribution from the source, simply run:
Run all build commands from within the root directory:
```sh
cd elasticsearch/
./gradlew assemble
```
To build a tar distribution, run this command:
```sh
./gradlew -p distribution/archives/tar assemble --parallel
```
You will find the distribution under:
`./distribution/archives/tar/build/distributions/`
To create all build artifacts (e.g., plugins and Javadocs) as well as
distributions in all formats, run this command:
```sh
./gradlew assemble --parallel
```
The package distributions (Debian and RPM) can be found under:
@ -209,7 +224,6 @@ The package distributions (Debian and RPM) can be found under:
The archive distributions (tar and zip) can be found under:
`./distribution/archives/(tar|zip)/build/distributions/`
### Running The Full Test Suite
Before submitting your changes, run the test suite to make sure that nothing is broken, with: