Files
spring-cloud-stream/buildPulsarBinder.sh
2023-09-19 17:39:47 -04:00

15 lines
430 B
Bash
Executable File

#!/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