1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:42:09 +02:00
tldr/pages/common/phing.md
Vitor Henrique d79a1667e3
pages*: refine wording (#12132)
* pages*: refine wording

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2024-02-09 19:25:36 +05:30

669 B

phing

A PHP build tool based on Apache Ant. More information: https://www.phing.info.

  • Perform the default task in the build.xml file:

phing

  • Initialize a new build file:

phing -i {{path/to/build.xml}}

  • Perform a specific task:

phing {{task_name}}

  • Use the given build file path:

phing -f {{path/to/build.xml}} {{task_name}}

  • Log to the given file:

phing -logfile {{path/to/log_file}} {{task_name}}

  • Use custom properties in the build:

phing -D{{property}}={{value}} {{task_name}}

  • Specify a custom listener class:

phing -listener {{class_name}} {{task_name}}

  • Build using verbose output:

phing -verbose {{task_name}}