Added an option to build the project in parallel

with this change we've added some scripts to run the build in parallel. It makes the build ~ 2 times faster

fixes #190
This commit is contained in:
Marcin Grzejszczak
2017-01-16 13:05:15 +01:00
parent 8d23d934c9
commit 12aa340e46
5 changed files with 87 additions and 0 deletions

View File

@@ -51,4 +51,37 @@ cd spring-cloud-contract-tools/spring-cloud-contract-gradle-plugin
./gradlew clean build
```
=== Helpful scripts
We're providing a couple of helpful scripts to build the project.
To build the project in parallel (by default uses 4 cores but you can change it)
```
./scripts/parallelBuild.sh
```
and with 8 cores
```
CORES=8 ./scripts/parallelBuild.sh
```
To build the project without any integration tests (by default uses 1 core)
```
./scripts/noIntegration.sh
```
and with 8 cores
```
CORES=8 ./scripts/noIntegration.sh
```
To generate the documentation (both the root one and the maven plugin one)
```
./scripts/generateDocs.sh
```