mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 03:54:03 +00:00
10 lines
318 B
Bash
Executable file
10 lines
318 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
if [[ "${CLAUDECODE}" != "1" ]]; then
|
|
COLOR_FLAG="--colors=always"
|
|
else
|
|
COLOR_FLAG="--colors=never"
|
|
fi
|
|
|
|
# --columns doesn't seem to work at the moment, so we're setting it using an environment variable
|
|
docker compose exec -e COLUMNS=$(tput cols) -T test vendor/bin/pest ${COLOR_FLAG} "$@"
|