diff --git a/app/Commands/PublishCommand.php b/app/Commands/PublishCommand.php index 3919ec1..008561e 100644 --- a/app/Commands/PublishCommand.php +++ b/app/Commands/PublishCommand.php @@ -6,7 +6,7 @@ use Illuminate\Console\Command; class PublishCommand extends Command { - protected $signature = 'publish'; + protected $signature = 'publish {--force}'; protected $description = 'Publish the expose configuration file'; @@ -18,7 +18,7 @@ class PublishCommand extends Command 'config.php' ]); - if (file_exists($configFile)) { + if (! $this->option('force') && file_exists($configFile)) { $this->error('Expose configuration file already exists at '.$configFile); return; } diff --git a/box.json b/box.json index 1beedf8..1f2e5a1 100644 --- a/box.json +++ b/box.json @@ -15,7 +15,6 @@ "exclude-composer-files": false, "compression": "GZ", "compactors": [ - "KevinGH\\Box\\Compactor\\Php", "KevinGH\\Box\\Compactor\\Json" ] } diff --git a/builds/expose b/builds/expose index 5333102..848ddb1 100755 Binary files a/builds/expose and b/builds/expose differ