Files
spring-cloud-contract/scripts/parallelBuild.sh
Marcin Grzejszczak 12aa340e46 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
2017-01-16 13:05:15 +01:00

10 lines
295 B
Bash
Executable File

#!/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}