From 316d393fe9f97ae6b3179ff7803fb92075f76f25 Mon Sep 17 00:00:00 2001 From: Soby Chacko Date: Tue, 19 Sep 2023 17:39:47 -0400 Subject: [PATCH] buildPulsarBinder script --- buildPulsarBinder.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 buildPulsarBinder.sh diff --git a/buildPulsarBinder.sh b/buildPulsarBinder.sh new file mode 100755 index 000000000..5bcce600a --- /dev/null +++ b/buildPulsarBinder.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +if [ "$#" -eq 1 ]; then + ARGVALUE=$1 + if [[ $ARGVALUE == *"skipTest"* ]]; then + echo "Skippping Tests" + ./mvnw clean install -f binders/pulsar-binder/pom.xml -DskipTests + elif [[ $ARGVALUE == *"disable.checks"* ]]; then + echo "Skippping checkstyle checks" + ./mvnw clean install -f binders/pulsar-binder/pom.xml -Ddisable.checks=true + fi +else + ./mvnw clean install -f binders/pulsar-binder/pom.xml +fi