forked from pyrus/Pyrus
-
Notifications
You must be signed in to change notification settings - Fork 1
/
packagexmlsetup.php
24 lines (21 loc) · 1.42 KB
/
packagexmlsetup.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
$package->dependencies['required']->php = '5.3.1RC1';
$package->dependencies['required']->package['pear2.php.net/PEAR2_Autoload']->min('0.2.4');
$package->dependencies['required']->package['pear2.php.net/PEAR2_Exception']->min('0.2.0');
$package->dependencies['required']->package['pear2.php.net/PEAR2_MultiErrors']->min('0.2.0');
$package->dependencies['required']->package['pear2.php.net/PEAR2_HTTP_Request']->min('0.2.0');
$package->dependencies['required']->package['pear2.php.net/PEAR2_Console_CommandLine']->min('0.2.0');
$compatible->dependencies['required']->php = '5.3.1RC1';
$compatible->dependencies['required']->package['pear2.php.net/PEAR2_Autoload']->min('0.2.4');
$compatible->dependencies['required']->package['pear2.php.net/PEAR2_Exception']->min('0.2.0');
$compatible->dependencies['required']->package['pear2.php.net/PEAR2_MultiErrors']->min('0.2.0');
$compatible->dependencies['required']->package['pear2.php.net/PEAR2_HTTP_Request']->min('0.2.0');
$compatible->dependencies['required']->package['pear2.php.net/PEAR2_Console_CommandLine']->min('0.2.0');
$package->files['scripts/pyrus'] = array(
'attribs' => array('role' => 'script'),
'tasks:replace' => array('attribs' =>
array('from' => '@php_dir@', 'to' => 'php_dir', 'type' => 'pear-config'))
);
if (isset($package->files['data/local-developer-commands.xml'])) {
unset($package->files['data/local-developer-commands.xml']);
}