2018-11-29 15:00:57 +00:00
|
|
|
# phing
|
|
|
|
|
|
|
|
> A PHP build tool based on Apache Ant.
|
2019-05-29 14:53:44 +01:00
|
|
|
> More information: <https://www.phing.info>.
|
2018-11-29 15:00:57 +00:00
|
|
|
|
2021-01-31 17:05:18 +00:00
|
|
|
- Perform the default task in the `build.xml` file:
|
2018-11-29 15:00:57 +00:00
|
|
|
|
|
|
|
`phing`
|
|
|
|
|
2022-06-27 11:23:12 +01:00
|
|
|
- Initialize a new build file:
|
2018-11-29 15:00:57 +00:00
|
|
|
|
|
|
|
`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}}`
|
|
|
|
|
2018-12-03 13:17:08 +00:00
|
|
|
- Specify a log file to output to:
|
2018-11-29 15:00:57 +00:00
|
|
|
|
|
|
|
`phing -b {{path/to/log_file}} {{task_name}}`
|
|
|
|
|
2024-01-24 07:22:18 +00:00
|
|
|
- Use custom properties in the build:
|
2018-11-29 15:00:57 +00:00
|
|
|
|
|
|
|
`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}}`
|