-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDevopsServiceProvider.php
More file actions
29 lines (25 loc) · 847 Bytes
/
DevopsServiceProvider.php
File metadata and controls
29 lines (25 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
declare(strict_types=1);
namespace Moox\Devops;
use Moox\Devops\Commands\InstallCommand;
use Moox\Devops\Commands\SyncForgeData;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;
class DevopsServiceProvider extends PackageServiceProvider
{
public function configurePackage(Package $package): void
{
$package
->name('devops')
->hasConfigFile()
->hasRoute('api')
->hasTranslations()
->hasMigrations([
'create_moox_servers_table',
'create_moox_projects_table',
'create_github_commits_table',
'create_github_repositories_table',
'create_github_issues_table'])
->hasCommands(InstallCommand::class, SyncForgeData::class);
}
}