bug #122 Fix the Makefile (dunglas)

This PR was merged into the master branch.

Discussion
----------

Fix the Makefile

| Q             | A
| ------------- | ---
| License       | MIT

Alternative fix to #120.

Commits
-------

d8f4d2d Fix the Makefile
This commit is contained in:
Fabien Potencier
2017-07-20 19:29:20 +02:00
+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