Check if testcontainers.properties exists before removing it

This commit is contained in:
Ryan Baxter
2024-10-06 14:30:09 -04:00
committed by GitHub
parent 96f3b37bac
commit 9b2c890eb6

View File

@@ -1,7 +1,9 @@
#!/usr/bin/env bash
set -e
rm ~/.testcontainers.properties
if [ -f "~/.testcontainers.properties" ]; then
rm ~/.testcontainers.properties
fi
echo 'testcontainers.reuse.enable=true' > ~/.testcontainers.properties
./mvnw clean install -B -Pdocs ${@}