Skip to content

Commit

Permalink
change vendor:publish tag names
Browse files Browse the repository at this point in the history
  • Loading branch information
RezaAb committed Jun 20, 2019
1 parent bafecae commit fd47b86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/Serverfireteam/Panel/Commands/PanelCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,19 @@ public function handle()

$this->info('** publishing panel assets');
$this->call('vendor:publish', [
'--tag' => 'public',
'--tag' => 'panelpublic',
'--quiet' => null
//'--force' => 1
]);
$this->info('** publishing panel config');
$this->call('vendor:publish', [
'--tag' => 'config',
'--tag' => 'panelconfig',
'--quiet' => null
//'--force' => 1
]);
$this->info('** publishing panel views');
$this->call('vendor:publish', [
'--tag' => 'views',
'--tag' => 'panelviews',
'--quiet' => null
//'--force' => 1
]);
Expand Down
6 changes: 3 additions & 3 deletions src/Serverfireteam/Panel/PanelServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,20 +103,20 @@ public function register()

$this->publishes([
__DIR__ . '/../../../public' => public_path('packages/serverfireteam/panel')
], 'public');
], 'panelpublic');

$this->publishes([
__DIR__.'/config/panel.php' => config_path('panel.php'),
__DIR__.'/config/elfinder.php' => config_path('elfinder.php'),
], 'config');
], 'panelconfig');
}

public function boot()
{
$this->loadViewsFrom(__DIR__.'/../../views', 'panelViews');
$this->publishes([
__DIR__.'/../../views' => base_path('resources/views/vendor/panelViews'),
], 'views');
], 'panelviews');

include __DIR__."/../../routes.php";

Expand Down

0 comments on commit fd47b86

Please sign in to comment.