Skip to content

Commit

Permalink
Docs: Update CONTRIBUTING.md with shortcut command for assembling onl…
Browse files Browse the repository at this point in the history
…y the tar distribution (elastic#35276)

* Add --parallel flag.
  • Loading branch information
cjcenizal authored and pgomulka committed Nov 13, 2018
1 parent 488cd29 commit 3ed09e3
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 3ed09e3

Please sign in to comment.