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:
10
scripts/parallelBuild.sh
Executable file
10
scripts/parallelBuild.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source common.sh || source scripts/common.sh || echo "No common.sh script found..."
|
||||
|
||||
set -e
|
||||
|
||||
[[ -z "${CORES}" ]] && CORES=8
|
||||
echo -e "\n\nRUNNING PARALLEL BUILD WITH [${CORES}] CORES\n\n"
|
||||
|
||||
./mvnw clean install -Pintegration,docs -T ${CORES} -Dinvoker.parallelThreads=${CORES}
|
||||
Reference in New Issue
Block a user