From 7d25a1822a77b4cc9fc40a348a3696556d35651d Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Fri, 21 Jul 2017 13:13:18 +0200 Subject: [PATCH] Changed the project building via the releaser --- config/releaser.yml | 2 +- scripts/fastBuild.sh | 10 ++++++++++ scripts/noIntegration.sh | 8 ++++---- 3 files changed, 15 insertions(+), 5 deletions(-) create mode 100755 scripts/fastBuild.sh diff --git a/config/releaser.yml b/config/releaser.yml index 8834407b20..28b930b7b1 100644 --- a/config/releaser.yml +++ b/config/releaser.yml @@ -1 +1 @@ -releaser.maven.buildCommand: ./scripts/buildWithDocs.sh \ No newline at end of file +releaser.maven.buildCommand: ./scripts/noIntegration.sh \ No newline at end of file diff --git a/scripts/fastBuild.sh b/scripts/fastBuild.sh new file mode 100755 index 0000000000..4251e19220 --- /dev/null +++ b/scripts/fastBuild.sh @@ -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=1 +echo -e "\n\nRUNNING FAST BUILD (NO INTEGRATION TESTS) WITH [${CORES}] CORES\n\n" + +./mvnw clean install -Pdocs,fast -T ${CORES} \ No newline at end of file diff --git a/scripts/noIntegration.sh b/scripts/noIntegration.sh index 4251e19220..ce46fbd90e 100755 --- a/scripts/noIntegration.sh +++ b/scripts/noIntegration.sh @@ -2,9 +2,9 @@ source common.sh || source scripts/common.sh || echo "No common.sh script found..." +FOLDER=`pwd` + set -e -[[ -z "${CORES}" ]] && CORES=1 -echo -e "\n\nRUNNING FAST BUILD (NO INTEGRATION TESTS) WITH [${CORES}] CORES\n\n" - -./mvnw clean install -Pdocs,fast -T ${CORES} \ No newline at end of file +./mvnw clean install +${FOLDER}/scripts/generateDocs.sh \ No newline at end of file