fixed cache:* commands (we really need console to be able to run them)

This commit is contained in:
Fabien Potencier
2017-03-23 15:50:56 -07:00
parent 16abcd0e42
commit 99527aa1f5
@@ -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\"",