add advanced scenario-tests for coop-assets #123

Merged
hsh-michaelhoennig merged 24 commits from feature/add-advanced-scenario-tests-for-coop-assets into master 2024-11-25 16:06:26 +01:00
Showing only changes of commit 2c3ce58da9 - Show all commits

View File

@ -8,12 +8,20 @@ gradleWrapper () {
return 1 return 1
fi fi
if command -v unbuffer >/dev/null 2>&1; then
# if `unbuffer` is available in PATH, use it to print report file-URIs at the end
TEMPFILE=$(mktemp /tmp/gw.XXXXXX) TEMPFILE=$(mktemp /tmp/gw.XXXXXX)
unbuffer ./gradlew "$@" | tee $TEMPFILE unbuffer ./gradlew "$@" | tee $TEMPFILE
echo echo
grep --color=never "Report:" $TEMPFILE grep --color=never "Report:" $TEMPFILE
rm $TEMPFILE rm $TEMPFILE
else
# if `unbuffer` is not in PATH, simply run gradle
./gradlew "$@"
echo "HINT: it's suggested to install 'unbuffer' to print report URIs at the end of a gradle run"
fi
} }
postgresAutodoc () { postgresAutodoc () {