1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 22:17:57 +01:00
tldr/pages/common/phing.md
2019-05-31 19:47:40 +01:00

687 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

  • Initialise a new build file:

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

  • Perform a specific task:

phing {{task_name}}

  • Specify a custom build file path:

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

  • Specify a log file to output to:

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

  • Specify custom properties to use 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}}