You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Tomáš Procházka (Jira)" <ji...@apache.org> on 2020/05/28 15:55:00 UTC
[jira] [Comment Edited] (NETBEANS-2623) PHP Composer Menu Lacks
Common Options
[ https://issues.apache.org/jira/browse/NETBEANS-2623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16978704#comment-16978704 ]
Tomáš Procházka edited comment on NETBEANS-2623 at 5/28/20, 3:54 PM:
---------------------------------------------------------------------
* generate autoloader - command "{{dump-autoload}}"
Documentation: https://getcomposer.org/doc/03-cli.md#dump-autoload-dumpautoload-
Useful option is also generating of optimized autoloader with "--optimize" parameter.
Another option used in projects is "--no-dev" to dump autoloader without development autoload rules.
Example: {{composer dump-autoload}}
* running scripts - command "{{run-script}}"
Documentation: https://getcomposer.org/doc/03-cli.md#run-script
List of commands can be found in composer.json under key "scripts" or using parameter "--list" of "run-script" (but it is not friendly for parsing).
Example in this project: https://github.com/contributte/codeception
Script "tests" is run with this command: {{composer run-script tests}}
was (Author: kacer):
* generate autoloader - command "{{dump-autoload}}"
Documentation: https://getcomposer.org/doc/03-cli.md#dump-autoload-dumpautoload-
Useful option is also generating of optimized autoloader with "--optimize" parameter.
Example: {{composer dump-autoload}}
* running scripts - command "{{run-script}}"
Documentation: https://getcomposer.org/doc/03-cli.md#run-script
List of commands can be found in composer.json under key "scripts" or using parameter "--list" of "run-script" (but it is not friendly for parsing).
Example in this project: https://github.com/contributte/codeception
Script "tests" is run with this command: {{composer run-script tests}}
> PHP Composer Menu Lacks Common Options
> --------------------------------------
>
> Key: NETBEANS-2623
> URL: https://issues.apache.org/jira/browse/NETBEANS-2623
> Project: NetBeans
> Issue Type: Improvement
> Components: php - Composer
> Affects Versions: 11.0
> Reporter: Keith Patrick
> Priority: Minor
>
> * generate autoload
> * running registered scripts
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists