mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 12:52:06 +00:00
Update cheatsheets
This commit is contained in:
41
phing
Normal file
41
phing
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user