mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-09 12:53:51 +02:00
phing: add page
This commit is contained in:
parent
38eddd7035
commit
cc0a81671c
1 changed files with 35 additions and 0 deletions
35
pages/common/phing.md
Normal file
35
pages/common/phing.md
Normal file
|
@ -0,0 +1,35 @@
|
|||
# phing
|
||||
|
||||
> A PHP build tool based on Apache Ant.
|
||||
|
||||
- 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 for output:
|
||||
|
||||
`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}}`
|
Loading…
Add table
Reference in a new issue