diff --git a/symfony/framework-bundle/3.3/Makefile b/symfony/framework-bundle/3.3/Makefile index c11f5a20c..c752c61e5 100644 --- a/symfony/framework-bundle/3.3/Makefile +++ b/symfony/framework-bundle/3.3/Makefile @@ -13,11 +13,11 @@ endif .PHONY: cache-clear cache-warmup: cache-clear -ifndef CONSOLE +ifdef CONSOLE + @$(CONSOLE) cache:warmup +else @printf "cannot warmup the cache (needs symfony/console)\n" - @exit 1 endif - @$(CONSOLE) cache:warmup .PHONY: cache-warmup serve_as_sf: sf_console