Fixed license

This commit is contained in:
William DURAND 2011-04-19 17:38:46 +02:00
parent c7c1545cb7
commit 68ae0ef9d7

View file

@ -11,15 +11,6 @@ use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Output\Output;
/*
* This file is part of the Symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
* BuildCommand.
*
@ -54,21 +45,21 @@ class BuildCommand extends PhingCommand
protected function execute(InputInterface $input, OutputInterface $output)
{
if (!$input->getOption('sql')) {
$output->writeln('<info>Building model classes</info>');
$output->writeln('<comment>Building model classes:</comment>');
$modelCommand = new BuildModelCommand();
$modelCommand->setApplication($this->getApplication());
$modelCommand->execute($input, $output);
}
if (!$input->getOption('classes')) {
$output->writeln('<info>Building model sql</info>');
$output->writeln('<comment>Building model sql:</comment>');
$sqlCommand = new BuildSQLCommand();
$sqlCommand->setApplication($this->getApplication());
$sqlCommand->execute($input, $output);
}
if ($input->getOption('insert-sql')) {
$output->writeln('<info>Inserting SQL statements</info>');
$output->writeln('<comment>Inserting SQL statements:</comment>');
$insertCommand = new InsertSqlCommand();
$insertCommand->setApplication($this->getApplication());