You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2022/08/03 12:15:41 UTC
[isis] 01/02: ISIS-2965: small improvements to build.sh
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch ISIS-3110
in repository https://gitbox.apache.org/repos/asf/isis.git
commit 55e8afb76d6c12a867830b0483c0f0408d82aa85
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Wed Aug 3 09:34:39 2022 +0100
ISIS-2965: small improvements to build.sh
---
build.sh | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/build.sh b/build.sh
index e9d9ad3cea..dbdd67feea 100644
--- a/build.sh
+++ b/build.sh
@@ -50,6 +50,7 @@ usage() {
echo " -k use 'package' rather than 'install'. Does not run integ tests. Cannot combine with '-y'" >&2
echo " -y use 'verify' rather than 'install'. Cannot combine with '-k'" >&2
echo " -O do NOT add '-o' (offline) flag, ie bring down any new dependencies" >&2
+ echo " -I append '-Dmodule-all-except-incubator" >&2
echo " -F do NOT search for Failures and Errors at the end" >&2
echo " -S do NOT print summary or last 50 lines at the end" >&2
echo " -w whatif - don't run the command but do print it out. Implies -v (verbose)" >&2
@@ -68,12 +69,13 @@ WHATIF=false
SINGLE_THREADED=false
SKIP_SEARCH_FOR_FAILURES=false
SKIP_SUMMARY=false
+ALL_EXCEPT_INCUBATOR=false
EDIT=false
VERBOSE=false
MVN_LOG=/tmp/$BASENAME_0.$$.log
-while getopts 'prctlkyOFSwveh' opt
+while getopts 'prctlkyIOFSwveh' opt
do
case $opt in
p) export GIT_PULL=true ;;
@@ -83,6 +85,7 @@ do
l) export SINGLE_THREADED=true ;;
k) export PACKAGE_ONLY=true ;;
y) export VERIFY_ONLY=true ;;
+ I) export ALL_EXCEPT_INCUBATOR=true ;;
F) export SKIP_SEARCH_FOR_FAILURES=true ;;
S) export SKIP_SUMMARY=true ;;
w) export WHATIF=true ;;
@@ -110,6 +113,7 @@ if [ "$VERBOSE" = "true" ]; then
echo "-k PACKAGE_ONLY : $PACKAGE_ONLY"
echo "-y VERIFY_ONLY : $VERIFY_ONLY"
echo "-O SKIP_OFFLINE : $SKIP_OFFLINE"
+ echo "-I ALL_EXCEPT_INCUBATOR : $ALL_EXCEPT_INCUBATOR"
echo "-F SKIP_SEARCH_FOR_FAILURES : $SKIP_SEARCH_FOR_FAILURES"
echo "-S SKIP_SUMMARY : $SKIP_SUMMARY"
echo "-w WHATIF : $WHATIF"
@@ -140,6 +144,10 @@ if [ "$TIMELINE" = "true" ]; then
OPTS="$OPTS -Dmaven-timeline.version=1.8-SNAPSHOT"
fi
+if [ "$ALL_EXCEPT_INCUBATOR" = "true" ]; then
+ OPTS="$OPTS -Dmodule-all-except-incubator"
+fi
+
if [ "$SKIP_OFFLINE" = "false" ]; then
OPTS="$OPTS -o"
fi