1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 06:04:03 +00:00

Claude code adjustments

This commit is contained in:
Samuel Štancl 2025-05-30 02:03:27 +02:00
parent 58712f53af
commit 8fb9e8f74f
3 changed files with 15 additions and 2 deletions

8
test
View file

@ -1,4 +1,10 @@
#!/bin/bash
# --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 --colors=always "$@"
if [[ "${CLAUDECODE}" != "1" ]]; then
COLOR_FLAG="--colors=always"
else
COLOR_FLAG=""
fi
docker compose exec -e COLUMNS=$(tput cols) -T test vendor/bin/pest ${COLOR_FLAG} "$@"