summaryrefslogtreecommitdiff
path: root/pear/PEAR/Command/Build.php
diff options
context:
space:
mode:
Diffstat (limited to 'pear/PEAR/Command/Build.php')
-rw-r--r--pear/PEAR/Command/Build.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/pear/PEAR/Command/Build.php b/pear/PEAR/Command/Build.php
index 5b15d3c0cb..2e498f8aed 100644
--- a/pear/PEAR/Command/Build.php
+++ b/pear/PEAR/Command/Build.php
@@ -29,6 +29,8 @@ require_once "PEAR/Builder.php";
*/
class PEAR_Command_Build extends PEAR_Command_Common
{
+ // {{{ properties
+
var $commands = array(
'build' => array(
'summary' => 'Build an Extension From C Source',
@@ -40,6 +42,10 @@ Builds one or more extensions contained in a package.'
),
);
+ // }}}
+
+ // {{{ constructor
+
/**
* PEAR_Command_Build constructor.
*
@@ -50,6 +56,10 @@ Builds one or more extensions contained in a package.'
parent::PEAR_Command_Common($ui, $config);
}
+ // }}}
+
+ // {{{ doBuild()
+
function doBuild($command, $options, $params)
{
if (sizeof($params) < 1) {
@@ -64,6 +74,9 @@ Builds one or more extensions contained in a package.'
return true;
}
+ // }}}
+ // {{{ buildCallback()
+
function buildCallback($what, $data)
{
if (($what == 'cmdoutput' && $this->verbose > 1) ||
@@ -71,4 +84,6 @@ Builds one or more extensions contained in a package.'
$this->ui->outputData(rtrim($data), 'build');
}
}
+
+ // }}}
}