File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -209,8 +209,8 @@ Don't remove or modify these separators.
209
209
Use ``%generate(secret)% `` as the value of any environment variable to
210
210
replace it with a cryptographically secure random value of 16 bytes.
211
211
212
- ``composer -scripts `` Configurator
213
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
212
+ ``auto -scripts `` Configurator
213
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
214
214
215
215
Registers scripts in the ``auto-scripts `` section of the ``composer.json `` file
216
216
to execute them automatically when running ``composer install `` and ``composer
@@ -222,10 +222,12 @@ script (``php-script`` for PHP scripts, ``script`` for any shell script and
222
222
.. code-block :: json
223
223
224
224
{
225
- "composer-scripts" : {
226
- "vendor/bin/security-checker security:check" : " php-script" ,
227
- "make cache-warmup" : " script" ,
228
- "assets:install --symlink --relative %PUBLIC_DIR%" : " symfony-cmd"
225
+ "scripts" : {
226
+ "auto-scripts" : {
227
+ "vendor/bin/security-checker security:check" : " php-script" ,
228
+ "make cache-warmup" : " script" ,
229
+ "assets:install --symlink --relative %PUBLIC_DIR%" : " symfony-cmd"
230
+ }
229
231
}
230
232
}
231
233
You can’t perform that action at this time.
0 commit comments