diff --git a/recipes/symfony/framework-bundle/manifest.json b/recipes/symfony/framework-bundle/manifest.json index aff0de12..a35f6086 100644 --- a/recipes/symfony/framework-bundle/manifest.json +++ b/recipes/symfony/framework-bundle/manifest.json @@ -18,10 +18,10 @@ }, "makefile": [ "cache-clear:", - "\t@bin/console cache:clear --no-warmup", + "\t@test -f bin/console && bin/console cache:clear --no-warmup || rm -rf var/cache/*", ".PHONY: cache-clear", "cache-warmup: cache-clear", - "\t@bin/console cache:warmup", + "\t@test -f bin/console && bin/console cache:warmup || echo "cannot warmup the cache (needs symfony/console)"", ".PHONY: cache-warmup", "serve:", "\t@echo \"\\033[32;49mServer listening on http://127.0.0.1:8000\\033[39m\"",