mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
wip
This commit is contained in:
@@ -6,7 +6,7 @@ use Illuminate\Console\Command;
|
|||||||
|
|
||||||
class PublishCommand extends Command
|
class PublishCommand extends Command
|
||||||
{
|
{
|
||||||
protected $signature = 'publish';
|
protected $signature = 'publish {--force}';
|
||||||
|
|
||||||
protected $description = 'Publish the expose configuration file';
|
protected $description = 'Publish the expose configuration file';
|
||||||
|
|
||||||
@@ -18,7 +18,7 @@ class PublishCommand extends Command
|
|||||||
'config.php'
|
'config.php'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if (file_exists($configFile)) {
|
if (! $this->option('force') && file_exists($configFile)) {
|
||||||
$this->error('Expose configuration file already exists at '.$configFile);
|
$this->error('Expose configuration file already exists at '.$configFile);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
1
box.json
1
box.json
@@ -15,7 +15,6 @@
|
|||||||
"exclude-composer-files": false,
|
"exclude-composer-files": false,
|
||||||
"compression": "GZ",
|
"compression": "GZ",
|
||||||
"compactors": [
|
"compactors": [
|
||||||
"KevinGH\\Box\\Compactor\\Php",
|
|
||||||
"KevinGH\\Box\\Compactor\\Json"
|
"KevinGH\\Box\\Compactor\\Json"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
builds/expose
BIN
builds/expose
Binary file not shown.
Reference in New Issue
Block a user