summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Small <jordan.small@boltstech.com>2020-01-07 21:54:29 +0000
committerJordan Small <jordan.small@boltstech.com>2020-01-07 21:54:29 +0000
commit4ceda1f0fd78bc7aecb4c4aa5462cd58d918fc9f (patch)
tree06a70755b4f1d829f387a8d1c88e9e7c5ff6f403
parentd51e4d90b3e7dbfc5b0a9ec90f37baf84dc105d0 (diff)
added default support to skip tests in gradle configurations with the ability to override cli flags with GRADLE_CLI_OPTS.
-rwxr-xr-xrun.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/run.sh b/run.sh
index 6d29f6f..2e6a0c2 100755
--- a/run.sh
+++ b/run.sh
@@ -170,7 +170,7 @@ case "$COMMAND" in
elif [[ ${LM_JAVA_VERSION} = "8" ]]; then
JAVA_HOME=/usr/lib/jvm/oracle_jdk8
fi
- gradle build
+ gradle build ${GRADLE_CLI_OPTS:-x test}
skip_prepare=true
fi
if [[ $(ls ./*.sln 2> /dev/null) ]]; then