mirror of
https://github.com/atlanticbiomedical/portal-legacy.git
synced 2025-07-02 01:47:28 -04:00
initial commit
This commit is contained in:
27
lib/symfony/vendor/pake/tasks/pakePearTask.class.php
vendored
Executable file
27
lib/symfony/vendor/pake/tasks/pakePearTask.class.php
vendored
Executable file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package pake
|
||||
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
|
||||
* @copyright 2004-2005 Fabien Potencier <fabien.potencier@symfony-project.com>
|
||||
* @license see the LICENSE file included in the distribution
|
||||
* @version SVN: $Id: pakePearTask.class.php 1791 2006-08-23 21:17:06Z fabien $
|
||||
*/
|
||||
|
||||
class pakePearTask
|
||||
{
|
||||
public static function import_default_tasks()
|
||||
{
|
||||
pake_desc('create a PEAR package');
|
||||
pake_task('pakePearTask::pear');
|
||||
}
|
||||
|
||||
public static function run_pear($task, $args)
|
||||
{
|
||||
$results = pake_sh('pear package');
|
||||
if ($task->is_verbose())
|
||||
{
|
||||
echo $results;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user