From cc0a81671c2bbd82ed34f6d546a84a7bbca91140 Mon Sep 17 00:00:00 2001 From: pxgamer Date: Thu, 29 Nov 2018 15:00:57 +0000 Subject: [PATCH] phing: add page --- pages/common/phing.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pages/common/phing.md diff --git a/pages/common/phing.md b/pages/common/phing.md new file mode 100644 index 0000000000..d6ecd81490 --- /dev/null +++ b/pages/common/phing.md @@ -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}}`