mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user