Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7h4ZNF4BDUpJk3Zou
10 lines
580 B
Bash
Executable File
10 lines
580 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Captures the startup lines a reader will see in the log: the jOOQ banner version and the dialect WARN.
|
|
set -uo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
{
|
|
mvn -B -q test -Dtest=JooqSliceTest 2>&1 | grep -E 'Thank you for using jOOQ|Version mismatch|PostgreSQL 17|Successfully applied|Starting JooqSliceTest' \
|
|
| sed -E 's/localhost:[0-9]+/localhost:PORT/; s/^[0-9T:.+-]+ +(INFO|WARN) +[0-9]+ --- \[[^]]*\] \[[^]]*\] //; s/ +/ /g; s/PID [0-9]+/PID N/; s/ \(started by [^)]*\)//; s/@+ +//'
|
|
} > output/13-startup-log-lines.txt
|
|
cat output/13-startup-log-lines.txt
|