فهرست منبع

[AsseticBundle] added env and debug mode to assetic:dump output

Kris Wallsmith 14 سال پیش
والد
کامیت
26a31bfc9d
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      src/Symfony/Bundle/AsseticBundle/Command/DumpCommand.php

+ 4 - 0
src/Symfony/Bundle/AsseticBundle/Command/DumpCommand.php

@@ -51,6 +51,10 @@ class DumpCommand extends Command
 
 
     protected function execute(InputInterface $input, OutputInterface $output)
     protected function execute(InputInterface $input, OutputInterface $output)
     {
     {
+        $output->writeln(sprintf('Dumping all <comment>%s</comment> assets.', $input->getOption('env')));
+        $output->writeln(sprintf('Debug mode is <comment>%s</comment>.', $input->getOption('no-debug') ? 'off' : 'on'));
+        $output->writeln('');
+
         if (!$input->getOption('watch')) {
         if (!$input->getOption('watch')) {
             foreach ($this->am->getNames() as $name) {
             foreach ($this->am->getNames() as $name) {
                 $this->dumpAsset($name, $output);
                 $this->dumpAsset($name, $output);