[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/pake/tasks/ -> pakePearTask.class.php (source)

   1  <?php
   2  
   3  /**
   4   * @package    pake
   5   * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
   6   * @copyright  2004-2005 Fabien Potencier <fabien.potencier@symfony-project.com>
   7   * @license    see the LICENSE file included in the distribution
   8   * @version    SVN: $Id: pakePearTask.class.php 1791 2006-08-23 21:17:06Z fabien $
   9   */
  10  
  11  class pakePearTask
  12  {
  13    public static function import_default_tasks()
  14    {
  15      pake_desc('create a PEAR package');
  16      pake_task('pakePearTask::pear');
  17    }
  18  
  19    public static function run_pear($task, $args)
  20    {
  21      $results = pake_sh('pear package');
  22      if ($task->is_verbose())
  23      {
  24        echo $results;
  25      }
  26    }
  27  }


Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7