Esempio n. 1
0
 public function testBuild_Prod()
 {
     $builder = new CommandBuilder('aureja/fake-dir/', 'prod');
     $this->assertEquals('/usr/bin/php5 aureja/fake-dir/console aureja:command --env=prod --no-debug', $builder->build('aureja:command'));
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public function create(JobConfigurationInterface $configuration)
 {
     $command = $this->commandBuilder->build($configuration->getParameter('symfony_command'));
     return new ShellJob($command, $this->reportManager);
 }