buildPulsarBinder script

This commit is contained in:
Soby Chacko
2023-09-19 17:39:47 -04:00
parent 248fe01b9a
commit 316d393fe9

14
buildPulsarBinder.sh Executable file
View File

@@ -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