Update build scripts to allow -Ddisable.checks flag to disable checkstyle auditing during the build.
15 lines
380 B
Bash
Executable File
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
|