Skip to content

Commit

Permalink
Fix issue with the event runner
Browse files Browse the repository at this point in the history
  • Loading branch information
lavary committed May 28, 2016
1 parent 9af341d commit 195691c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Console/Command/ConfigGeneratorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ConfigGeneratorCommand extends Command
protected function configure()
{
$this->setName('publish:config')
->setDescription('Generate a config file within your project\'s root directory')
->setDescription('Generate a config file within your project\'s root directory.')
->setHelp('This generates a config file in YML format within the project\'s root directory.');
}

Expand Down
4 changes: 2 additions & 2 deletions src/Console/Command/ScheduleListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ class ScheduleListCommand extends Command
protected function configure()
{
$this->setName('schedule:list')
->setDescription('Display the list of scheduled tasks')
->setDescription('Display the list of scheduled tasks.')
->setDefinition([
new InputArgument('source', InputArgument::OPTIONAL, 'The source directory to collect the tasks.', $this->config('tasks_path')),
])
->setConfiguration(Configuration::getInstance())
->setHelp('This command displays the scheduled tasks in tabular format.');
->setHelp('This command displays the scheduled tasks in a tabular format.');
}

/**
Expand Down
6 changes: 3 additions & 3 deletions src/Console/Command/ScheduleRunCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ class ScheduleRunCommand extends Command
protected function configure()
{
$this->setName('schedule:run')
->setDescription('Start the scheduler')
->setDescription('Start the event runner.')
->setDefinition([
new InputArgument('source', InputArgument::OPTIONAL, 'The source directory to collect the tasks.', $this->config('tasks_path')),
])
->setConfiguration(Configuration::getInstance())
->setHelp('This command starts the scheduler.');
->setHelp('This command starts the Crunz event runner.');
}

/**
Expand Down Expand Up @@ -86,7 +86,7 @@ protected function execute(InputInterface $input, OutputInterface $output)

if ($this->config('log_output')) {
$event->logOutput($output, $this->config('output_log_file'), true);
} else if ($event->output != 'dev/null') {
} else if ($event->output != '/dev/null') {
$event->logEventOutput($output);
}

Expand Down
4 changes: 2 additions & 2 deletions src/Console/Command/TaskGeneratorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class TaskGeneratorCommand extends Command
protected function configure()
{
$this->setName('make:task')
->setDescription('Generate a task stub')
->setDescription('Generate a task file skeleton.')
->setDefinition([

new InputArgument('taskfile', InputArgument::REQUIRED, 'The task file name'),
Expand All @@ -58,7 +58,7 @@ protected function configure()

])
->setConfiguration(Configuration::getInstance())
->setHelp('This command makes a task stub for you to work on.');
->setHelp('This command makes a task file skeleton.');
}

/**
Expand Down

0 comments on commit 195691c

Please sign in to comment.