mirror of
https://github.com/symfony/recipes.git
synced 2026-09-14 08:36:27 +03:00
Improve the readability of the Makefile tasks
This commit is contained in:
@@ -20,9 +20,11 @@
|
|||||||
"cache-clear:",
|
"cache-clear:",
|
||||||
"\t@test -f bin/console && bin/console cache:clear --no-warmup || rm -rf var/cache/*",
|
"\t@test -f bin/console && bin/console cache:clear --no-warmup || rm -rf var/cache/*",
|
||||||
".PHONY: cache-clear",
|
".PHONY: cache-clear",
|
||||||
|
"",
|
||||||
"cache-warmup: cache-clear",
|
"cache-warmup: cache-clear",
|
||||||
"\t@test -f bin/console && bin/console cache:warmup || echo \"cannot warmup the cache (needs symfony/console)\"",
|
"\t@test -f bin/console && bin/console cache:warmup || echo \"cannot warmup the cache (needs symfony/console)\"",
|
||||||
".PHONY: cache-warmup",
|
".PHONY: cache-warmup",
|
||||||
|
"",
|
||||||
"serve:",
|
"serve:",
|
||||||
"\t@echo \"\\033[32;49mServer listening on http://127.0.0.1:8000\\033[39m\"",
|
"\t@echo \"\\033[32;49mServer listening on http://127.0.0.1:8000\\033[39m\"",
|
||||||
"\t@echo \"Quit the server with CTRL-C.\"",
|
"\t@echo \"Quit the server with CTRL-C.\"",
|
||||||
|
|||||||
Reference in New Issue
Block a user