Improve the readability of the Makefile tasks

This commit is contained in:
Javier Eguiluz
2017-04-04 20:52:22 +02:00
parent 0b557bab57
commit 6785a02463
+2
View File
@@ -20,9 +20,11 @@
"cache-clear:",
"\t@test -f bin/console && bin/console cache:clear --no-warmup || rm -rf var/cache/*",
".PHONY: cache-clear",
"",
"cache-warmup: cache-clear",
"\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\"",
"\t@echo \"Quit the server with CTRL-C.\"",