mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
-
This commit is contained in:
@@ -3,17 +3,19 @@
|
||||
"Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"etc/": "%ETC_DIR%/"
|
||||
"etc/": "%ETC_DIR%/",
|
||||
"web/": "%WEB_DIR%/"
|
||||
},
|
||||
"composer-scripts": {
|
||||
"cache:clear --no-warmup": "symfony-cmd",
|
||||
"cache:warmup": "symfony-cmd",
|
||||
"assets:install --symlink --relative %WEB_DIR%": "symfony-cmd"
|
||||
},
|
||||
"makefile": "
|
||||
serve:
|
||||
echo \"Started web server on http://127.0.0.1:8000\"
|
||||
echo \"Run composer require symfony/web-server-bundle for a better web server\"
|
||||
php -S 127.0.0.1:8000 -t web
|
||||
"
|
||||
"makefile": [
|
||||
"serve:",
|
||||
"\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 \"Run \\033[32mcomposer require symfony/web-server-bundle\\033[39m for a better web server\"",
|
||||
"\tphp -S 127.0.0.1:8000 -t web"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user