Fix the Makefile

This commit is contained in:
Kévin Dunglas
2017-07-20 18:05:54 +02:00
parent 658289145c
commit d8f4d2da85
+4 -4
View File
@@ -13,11 +13,11 @@ endif
.PHONY: cache-clear
cache-warmup: cache-clear
ifndef CONSOLE
@printf "cannot warmup the cache (needs symfony/console)\n"
@exit 1
endif
ifdef CONSOLE
@$(CONSOLE) cache:warmup
else
@printf "cannot warmup the cache (needs symfony/console)\n"
endif
.PHONY: cache-warmup
serve_as_sf: sf_console