mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 23:26:27 +03:00
Revert "Merge pull request #447"
This reverts commit08c8f6eacd, reversing changes made to57119c1be7.
This commit is contained in:
+6
-8
@@ -209,8 +209,8 @@ Don't remove or modify these separators.
|
||||
Use ``%generate(secret)%`` as the value of any environment variable to
|
||||
replace it with a cryptographically secure random value of 16 bytes.
|
||||
|
||||
``auto-scripts`` Configurator
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
``composer-scripts`` Configurator
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Registers scripts in the ``auto-scripts`` section of the ``composer.json`` file
|
||||
to execute them automatically when running ``composer install`` and ``composer
|
||||
@@ -222,12 +222,10 @@ script (``php-script`` for PHP scripts, ``script`` for any shell script and
|
||||
.. code-block:: json
|
||||
|
||||
{
|
||||
"scripts": {
|
||||
"auto-scripts": {
|
||||
"vendor/bin/security-checker security:check": "php-script",
|
||||
"make cache-warmup": "script",
|
||||
"assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd"
|
||||
}
|
||||
"composer-scripts": {
|
||||
"vendor/bin/security-checker security:check": "php-script",
|
||||
"make cache-warmup": "script",
|
||||
"assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user