diff --git a/extend/catcher/command/InstallCommand.php b/extend/catcher/command/InstallCommand.php index 78e2c0e..f8d5212 100644 --- a/extend/catcher/command/InstallCommand.php +++ b/extend/catcher/command/InstallCommand.php @@ -165,6 +165,9 @@ class InstallCommand extends Command if (is_dir(CatchAdmin::moduleMigrationsDirectory($moduleInfo['alias']))) { $output = Console::call('catch-migrate:run', [$moduleInfo['alias']]); $this->output->info(sprintf('module [%s] migrations %s', $moduleInfo['alias'], $output->fetch())); + + $seedOut = Console::call('catch-seed:run', [$moduleInfo['alias']]); + $this->output->info(sprintf('module [%s] seeds %s', $moduleInfo['alias'], $seedOut->fetch())); } } } diff --git a/extend/catcher/command/SeedRunCommand.php b/extend/catcher/command/SeedRunCommand.php index c9b756b..0daeb97 100644 --- a/extend/catcher/command/SeedRunCommand.php +++ b/extend/catcher/command/SeedRunCommand.php @@ -42,8 +42,7 @@ EOT $start = microtime(true); $this->seed($seed); $end = microtime(true); - - $output->writeln(CatchAdmin::moduleSeedsDirectory($this->module)); + $this->seeds = null; $output->writeln('All Done. Took ' . sprintf('%.4fs', $end - $start) . ''); }