jqh 5 anni fa
parent
commit
964880a020
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 1 1
      src/AdminServiceProvider.php
  2. 3 3
      src/Console/MinifyCommand.php

+ 1 - 1
src/AdminServiceProvider.php

@@ -32,7 +32,7 @@ class AdminServiceProvider extends ServiceProvider
         Console\FormCommand::class,
         Console\ActionCommand::class,
         Console\MenuCacheCommand::class,
-        Console\ThemeCommand::class,
+        Console\MinifyCommand::class,
     ];
 
     /**

+ 3 - 3
src/Console/ThemeCommand.php → src/Console/MinifyCommand.php

@@ -7,7 +7,7 @@ use Illuminate\Console\Command;
 use Illuminate\Support\Str;
 use Symfony\Component\Process\Process;
 
-class ThemeCommand extends Command
+class MinifyCommand extends Command
 {
     const ALL = 'all';
     const DEFAULT = 'default';
@@ -17,7 +17,7 @@ class ThemeCommand extends Command
      *
      * @var string
      */
-    protected $signature = 'admin:theme {name} 
+    protected $signature = 'admin:minify {name} 
         {--color= : Theme color code} 
         {--publish : Publish assets files}';
 
@@ -26,7 +26,7 @@ class ThemeCommand extends Command
      *
      * @var string
      */
-    protected $description = 'Compile theme files.';
+    protected $description = 'Minify the CSS and JS';
 
     /**
      * @var array