Files
spring-cloud-stream/buildCore.sh
Soby Chacko 9039bdc5e5 Update build scripts
Update build scripts to allow -Ddisable.checks flag
to disable checkstyle auditing during the build.
2022-10-12 14:14:55 -04:00

15 lines
380 B
Bash
Executable File

#!/bin/bash
if [ "$#" -eq 1 ]; then
ARGVALUE=$1
if [[ $ARGVALUE == *"skipTest"* ]]; then
echo "Skippping Tests"
./mvnw clean install -f core/pom.xml -DskipTests
elif [[ $ARGVALUE == *"disable.checks"* ]]; then
echo "Skippping checkstyle checks"
./mvnw clean install -f core/pom.xml -Ddisable.checks=true
fi
else
./mvnw clean install -f core/pom.xml
fi