summaryrefslogtreecommitdiff
path: root/pear/PEAR/Command/Build.php
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>2002-11-26 21:49:55 +0000
committerStig Bakken <ssb@php.net>2002-11-26 21:49:55 +0000
commit7e21663cb5de994b5268cfb609c3853dd852e2c4 (patch)
tree3bd4223dc87387eb55e55598d66746f3a6b15ff1 /pear/PEAR/Command/Build.php
parent61b3d5ccb525d7524704c42a555a36eb868b803e (diff)
downloadphp-git-7e21663cb5de994b5268cfb609c3853dd852e2c4.tar.gz
* ws/folding
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');
}
}
+
+ // }}}
}