infinito/administration/clear.sh

8 lines
313 B
Bash
Raw Permalink Normal View History

#!/bin/bash
(
2019-03-29 18:44:22 +01:00
cd "$(dirname "$(readlink -f "${0}")")/../docker-symfony/" &&
docker-compose exec php php /var/www/symfony/bin/console cache:clear &&
2019-03-29 18:44:22 +01:00
docker-compose exec php php /var/www/symfony/bin/console cache:clear --env=prod &&
docker-compose exec php php /var/www/symfony/bin/console cache:clear --env=test
)